President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE took a shot at top Fox News anchor Shepard Smith's "terrible ratings" before wishing the longtime host "well" following news of his exit on Friday afternoon.

“I don’t know. Is he leaving? That’s a shame," Trump told reporters on the South Lawn of the White House before departing for a rally in Louisiana.

“Is he leaving because of bad ratings?” Trump continued. "If he’s leaving, I assume he’s leaving because he had bad ratings.”

ADVERTISEMENT

“He had the worst ratings at Fox," Trump said, before adding, “I wish Shepard Smith well.”

Despite the president's remarks, Smith continually topped his rivals on MSNBC and CNN in the 3 p.m. hour when anchoring "Shepard Smith Reporting," according to Nielsen Media Research.

Smith and Trump have traded jabs at one another in recent months, with the anchor having repeatedly drawn the president's ire after pushing back on various remarks from him.

Trump, as recently as Thursday, sent a tweet slamming Smith and other network personalities who are perceived to be less friendly to the president. Trump mentioned Smith while knocking a Fox News poll that showed growing support for his impeachment and removal from office.

...Court Justice & I turned him down (he’s been terrible ever since), Shep Smith, @donnabrazile (who gave Crooked Hillary the debate questions & got fired from @CNN), & others, @FoxNews doesn’t deliver for US anymore. It is so different than it used to be. Oh well, I’m President! — Donald J. Trump (@realDonaldTrump) October 10, 2019

Smith had regularly issued fact-checks for the president's comments while also criticizing him on multiple occasions, including in July when he called out Trump over his "misleading and xenophobic eruption" of criticism aimed at a group of minority congresswomen, saying that his latest remarks were part of the president's pattern of "distraction and division."