PHOTO: Getty Images
Now playing
02:45
Trump asks Ted Cruz to speak at RNC, pitches GOP unity
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
PHOTO: Win McNamee/Getty Images
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Now playing
01:44
Jill Stein raises millions for recount
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/Getty Images
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:14
Scientists urge Clinton to call for recount
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
PHOTO: Matt Mills McKnight/Getty Images North America/Getty Images
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
Now playing
03:25
Donald Trump's wild ride
Now playing
01:46
Trump's challenges in the Middle East
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
Now playing
02:47
Fact checking Trump on crimes by immigrants
PHOTO: Mark Makela/Getty Images/Lintao Zhang/Getty Images
Now playing
01:26
Trump vs. the tape on Obama and the protester
Now playing
01:28
Trump compares Clinton email probe to Watergate
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
PHOTO: John Locher/AP
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
Now playing
01:20
Donald Trump rushed off stage by Secret Service
PHOTO: AFP/Getty Images
Now playing
02:16
Trump reads letter from Patriot's coach at rally
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
PHOTO: Mandel Ngan/AFP/Getty Images
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
Now playing
01:56
Trump on US officials: 'What a group of losers'
donald trump nice and cool pensacola fl bts_00001523.jpg
donald trump nice and cool pensacola fl bts_00001523.jpg
Now playing
00:49
Trump's mantra in campaign's final week: Stay on point
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
Now playing
01:52
Audio of Trump praising the Clintons and Democrats
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
Now playing
01:28
Cuomo grills Lewandowski on Clinton email 'hypocrisy'
Now playing
00:10
This video is no longer available
Now playing
01:49
Meet the other Hillary Clinton and Donald Trump

Story highlights

Sen. Ted Cruz met with Donald Trump in Washington on Thursday

Afterward, the Texas senator announced he'd speak at the Republican convention at Trump's request

(CNN) —  

Sen. Ted Cruz, Donald Trump’s former chief rival for the GOP nomination, will speak at the Republican National Convention later this month, the Texas senator told reporters after the two met Thursday in Washington.

Cruz told reporters Thursday that the real estate mogul offered his former primary rival a speaking slot during the meeting and he accepted. He added that he and Trump did not discuss an endorsement.

“We had a positive and productive meeting this morning with Donald Trump. Donald asked me to speak at the Republican convention and I told him I’d be happy to do so,” Cruz told reporters.

The two men met Thursday with Republican National Committee Chairman Reince Priebus at the National Republican Senatorial Committee headquarters where Trump also met with several dozen other Republican senators on Thursday. The meeting marked the first time Cruz and Trump met in person since the Texas senator dropped out of the presidential race more than two months ago.

Priebus told Fox News Thursday that Trump and Cruz had “a good conversation,” but said that because the meeting was private, he wouldn’t go into specifics.

“I’ll just say they had a good conversation and it was very polite and cordial and normal,” Priebus said. “I know they’re working on details.”

A senior Trump campaign official said Trump and Cruz agreed to no longer work against each other and would work together on policy issues where they share common ground. Trump also asked Cruz to help recommend potential judicial nominees, the official said.

Trump and Cruz were joined by Trump’s daughter Ivanka and her husband Jared Kushner, as well as Cruz’s former campaign chairman Jeff Roe.

The Texas senator has so far refused to endorse Trump, but has not ruled it out.

While Cruz resisted criticizing Trump in the initial months of the GOP primary campaign, Cruz would eventually become one of Trump’s fiercest rivals – and the last remaining legitimate challenge to Trump’s campaign to win the Republican presidential nomination.

And the final weeks of Cruz’s campaign were dominated by Trump’s personal attacks against the Texas senator and his family as the fight between the two men grew increasingly bitter and personal.

In late March, Trump threatened to “spill the beans” on Cruz’s wife after an anti-Trump super PAC unaffiliated with Cruz’s campaign pushed out a series of digital ads aimed at portraying Trump’s wife in a negative light.

And Trump would later also retweet an unflattering picture of the Texans’ wife alongside a glamorous shot of his own wife with the caption “the images are worth a thousand words.”

Trump clashes with congressional critic behind closed doors

And as Indiana’s Republican voters headed to the polls, Trump again turned to the personal, accusing Cruz’s father of being involved in the assassination of President John F. Kennedy.

Cruz also turned to mudslinging in his campaign against Trump, criticizing the New York billionaire in the final days of the Indiana campaign of being as a “serial philanderer,” “pathological liar” and “narcissist.”

And he opened one of the first fronts in his battle with Trump by hitting Trump as an out-of-touch candidate with “New York values.”

Returning to the Senate in May after dropping out of the presidential race, Cruz would not express his support for Trump as the GOP nominee – but did not rule it out.

“There are two and a half months until the Republican convention, six months until the general election,” Cruz told reporters in May after returning to Washington. “There will be plenty of time for voters to make the determination who they’re going to support.”

CNN’s Betsy Klein and Rachel Chason contributed to this report.