Rudy Giuliani has slammed critics who believe he has broken the law amid a federal investigation, which suspects he participated in illegal dealings with Ukraine.

During an interview with NBC New York, the former mayor of NYC reflected on the lengthy probe and insisted he is innocent as the government investigates whether he worked as an unregistered lobbyist for Ukrainian officials.

“I committed no crime, and if you think I committed a crime, you’re probably really stupid, because you don’t know who I am,” Giuliani said.

Giuliani also went on to suggest the probe may have been politically motivated since the crimes being investigated took place while he was working as former president Donald Trump’s attorney.

“Is the guy who put the mafia in jail, terrorists in jail, Ed Koch’s commissioners in jail, and the worst people on Wall Street — I’m not going to file (a form)? I mean, that’s just crazy,” Giuliani said.

Federal agents first executed a search warrant on Giuliani’s NYC apartment in April to seize items such as his phone, computer, and iPad to investigate his deals with Ukraine.

“I am more than willing to go to jail if they want to put me in jail. And if they do, they’re going to suffer the consequences in heaven,” he explained. “I’m not, I didn’t do anything wrong.”

Along with the federal investigation into his connection with Ukraine, Giuliani has also had his law license suspended in Washington D.C. and New York after making false statements about the 2020 presidential election.

However, the setback hasn’t stopped Giuliani from endorsing local politicians. On Saturday, Giuliani shared a tweet showing his support for NYC Mayoral candidate Curtis Silwa.

“​​Curtis is the candidate who will serve the people, not the political machine,” Giuliani tweeted.

Sliwa has previously praised Giuliani’s time as mayor of NYC in the 1990s due to his efforts to tackle violent crimes plaguing the area.

Donald Trump's former personal lawyer Rudy Giuliani speaks during a press conference at the Republican National Committee headquarters in Washington, DC, on November 19, 2020
Donald Trump's former personal lawyer Rudy Giuliani speaks during a press conference at the Republican National Committee headquarters in Washington, DC, on November 19, 2020 AFP / MANDEL NGAN