(CNN) – President Donald Trump, in a series of late night tweets on Tuesday, both revisited his 2016 victory over Hillary Clinton and seemingly slammed the judgment of his own FBI director.

“FBI Director Comey was the best thing that ever happened to Hillary Clinton in that he gave her a free pass for many bad deeds! The phony Trump/Russia story was an excuse used by the Democrats as justification for losing the election. Perhaps Trump just ran a great campaign,” Trump wrote in a series of messages.

The tweets come after Clinton blamed her flawed candidacy, Russia’s intervention in the election via WikiLeaks and a letter released by FBI Director James Comey for her 2016 election loss during an interview with CNN’s Christiane Amanpour at a Women for Women International event in New York.

Comey will appear before a Senate committee Wednesday, where he’ll face questions on Russian interference in the US election and why he decided to announce that the FBI was looking again at Clinton’s emails just days before the election.

Hours before Trump tweeted, Clinton welcomed the President’s ire after Amanpour predicted that the Twitter-focused President would respond to his former opponent.

“Fine. Better than the interfering in foreign affairs,” Clinton said of the prospect Trump would tweet about her. “If he wants to tweet about me then I am happy to be the diversion because we have lot of things to worry about.”

She added: “He should worry less about the election and my winning the popular vote than doing some other things that would be important for the country.”

The event was the latest in which Clinton, in a stinging rebuke to Trump, blamed herself for the 2016 loss but also cast the current President as someone aided by outside factors, including the Russian government.

Clinton’s comments about Trump were so direct that it almost seemed a response from Trump was all but certain.

A Clinton spokesman did not respond Tuesday night to questions about Trump’s tweets.

Trump has not shied away from knocking Comey and the FBI during his presidency, despite publicly applauding the FBI director during a January meeting in the White House.

The President slammed the FBI in February for leaks on possible contact between the Trump campaign and Russian officials.

A Clinton spokesman did not respond Tuesday night to questions about Trump’s tweets.

Trump has not shied away from knocking Comey and the FBI during his presidency, despite publicly applauding the FBI director during a January meeting in the White House.

The President slammed the FBI in February for leaks on possible contact between the Trump campaign and Russian officials.

“The FBI is totally unable to stop the national security “leakers” that have permeated our government for a long time,” Trump tweeted in two messages. “They can’t even find the leakers within the FBI itself. Classified information is being given to media that could have a devastating effect on U.S. FIND NOW.”