Former US Attorney Preet Bharara blasted President Trump for inviting “admitted killer” Rodrigo Duterte of the Philippines to the White House.

“Admin attacks crime approach of NYC — America’s safest large city — then invites admitted killer, Philippine Pres Duterte, to White House,” Bharara tweeted Sunday.

Bharara, who was fired by Trump in March when he refused to hand in his resignation after President Obama left office, wrote that the invitation of Duterte, who has been accused by rights groups of executing drug suspects in the Philippines, stunned the White House staff.

“On Duterte visit: DJT is ‘still ready to say and do things that leave people, even on his staff, slack-jawed,'” Bharara wrote, referring to a line in a New York Times story about Trump’s phone call to Duterte.

The former federal prosecutor’s tweet included a link to a New York Times story from December 2016 that showed Duterte boasting of how he killed three people when he was the mayor of Davao City.

“I killed about three of them because there were three of them. I don’t really know how many bullets from my gun went inside their bodies. It happened. I cannot lie about it,” the newspaper quoted Duterte as saying.

But Duterte himself may have defused a controversial meeting with Trump, saying his schedule may prevent him from traveling to Washington.

“I am tied up. I cannot make any definite promise. I am supposed to go to Russia, I am supposed to go to Israel,” he said on Monday.

Trump’s Justice Department criticized the NYPD for not doing enough to stop immigrants from committing crimes in a dispute over funding for sanctuary cities.

The White House on Sunday defended having Duterte visit Trump, saying he can help the US curtail North Korea’s missile and nuclear programs.

“There is nothing right now facing this country and facing the region that is a bigger threat than what’s happening in North Korea,” White House chief of staff Reince Priebus told ABC’s “This Week.”