Hannity: 'Rogue' Mueller 'Declared War Against Trump' With Cohen Raid

House Speaker Paul Ryan praised President Trump and his improved relationship with the commander-in-chief Wednesday, the same day he announced he would not seek re-election next year.

Ryan (R-Wis.) told Dana Perino that his achievements in the House since Trump took office would normally take another administration years.

"We now know each other extremely well. We work very closely together. But also, all these things that we fought for are alive and well here in the House," he said.

Trump had ripped Ryan in 2016, calling him "a man who doesn't know how to win," referring to Ryan's defeat as Mitt Romney's running mate in 2012.

Another source of the pair's tumultuous history stemmed from Ryan distancing himself from Trump after the Access Hollywood tape leaked in 2016.

He also labeled Ryan as a "weak and ineffective leader."

The president said Wednesday that Ryan "will leave a legacy of achievement that nobody can question."

Ryan credited simply communicating with the president for their improved relationship.

"It's just knowing each other," he said. "We spend a great deal of time with each other. I'm having dinner with him tonight. We speak on the phone constantly. Honestly, we've just developed a good friendship."

Watch the full interview from "The Daily Briefing with Dana Perino" above, and read more about Ryan's decision to retire as House Speaker next year.

Ryan: I Have 'Assurances' From White House That Trump Won't Fire Mueller, Rosenstein

Turley: Firing Mueller or Rosenstein 'Wouldn't Necessarily Stop' Investigation

Dershowitz: Mueller 'Laundering Information to Another Prosecutorial Authority'