Rudy Giuliani and former FBI Director James Comey clashed on Thursday after the former mayor accused the FBI of behaving like “stormtroopers” when they raided Michael Cohen last month.

Comey, who served as the US attorney in Manhattan from 2002 to 2003, blasted Giuliani for likening federal agents to “Nazis.”

“I know the New York FBI. There are no ‘stormtroopers’ there; just a group of people devoted to the rule of law and the truth,” Comey wrote on his Twitter account Thursday. “Our country would be better off if our leaders tried to be like them, rather than comparing them to Nazis.”

Giuliani, who is part of the legal team representing President Trump in special counsel Robert Mueller’s Russia investigation, shot back at Comey, calling him a “sensitive little baby.”

“He should be sensitive because he’s been caught lying over and over again,” Giuliani told the Washington Post.

Giuliani made the “stormtroopers” comment Wednesday during an interview with Fox News’ Sean Hannity when he made the bombshell disclosure that the president repaid the $130,000 that Cohen paid to porn star Stormy Daniels just weeks before the 2016 election to keep her quiet about an alleged affair with Trump in 2006.

FBI agents raided Cohen, a longtime lawyer and Trump confidant, on April 9 in search of information about the payoff, seizing documents, records and cellphones from his home, office and hotel room.

“The settlement payment — which is a very regular thing for lawyers to do — the question there was, the only possible violation there would be was it a campaign finance violation? Which usually results in a fine, by the way, not these big stormtroopers coming in and breaking down his apartment and breaking down his office,” Giuliani told Hannity.

“That was money that was paid by his lawyer, the way I would do, out of his law firm funds or whatever funds — it doesn’t matter — and the president reimbursed that over the period of several months,” Giuliani added.

Trump in May 2017 fired Comey, who was then in charge of the Russia investigation.

Less than two weeks later, Deputy Attorney General Rod Rosenstein named Mueller as special counsel.