President Donald Trump in a series of tweets Sunday morning attacked the FBI, asserting that its reputation was “in tatters.”

The president also denied that he ordered former FBI Director James Comey to halt an investigation of Michael Flynn, who was fired by Trump, Newsweek reported.

“After years of Comey, with the phony and dishonest Clinton investigation (and more), running the FBI, its reputation is in Tatters -- worst in History!” Trump tweeted. “But fear not, we will bring it back to greatness.”

Trump also took a shot at the media, tweeting that “I never asked Comey to stop investigating Flynn. Just more Fake News covering another Comey lie!”

The president also mentioned a report by Fox News that an FBI agent reassigned by Special Counsel Robert Mueller for texts critical of Trump was under investigation for his role in the emails probe of former Democratic presidential candidate Hillary Clinton, Newsweek reported.

“Now it all starts to make sense!" Trump tweeted.

The president’s latest series of tweets come after Flynn admitted Friday to having lied to the FBI about his contact with Russian ambassador Sergey Kislyak before Trump’s inauguration, Newsweek reported. Trump fired Flynn in February for deceiving Vice President Mike Pence about his contact with Kislyak, Newsweek reported.