Sen. Ted Cruz told Donald Trump at a closed-door meeting in Washington, DC, on Thursday that he would be “happy” to speak at this month's Republican National Convention.

“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.

Cruz spokeswoman Catherine Frazier said in a statement that there was “no discussion of any endorsement” at the meeting.

Cruz says Trump invited him to speak at the convention and he accepted pic.twitter.com/vhbTsFjJ65 — Katherine Faulders (@KFaulders) July 7, 2016

Frazier added that Trump asked the Texas senator for “his counsel on future judicial nominations.”

“Cruz responded he would continue to do everything he can to help ensure principled constitutionalists on the courts,” Frazier said.

Trump defeated Cruz for the Republican nomination in a heated primary in which Trump, at times, personally attacked the senator and his family.

The Manhattan businessman repeatedly characterized Cruz as “Lyin’ Ted” on the campaign trail, posted an unflattering image of Cruz's wife on Twitter, and floated the idea that his father was somehow involved in the plot to kill John F. Kennedy.