Philippines President Rodrigo Duterte addresses troops during change-of-command ceremony at Camp Aguinaldo in Quezon City, northeast of Manila,on Wednesday. | AP Photo Duterte does profanity-laced Trump impression

He’s no Alec Baldwin, but Philippines President Rodrigo Duterte tried his hand at impersonating President-elect Donald Trump on Wednesday in a profanity-laced speech.

Regaling the audience at a state conference, Duterte relayed what he said were snippets of his recent phone conversation with America’s next leader.

“You’re doing great. I know what your worry [is] about these Americans criticizing you. You’re doing good, go ahead. I have this problem on the border of Mexico and America, this goddamn s--- guy,” Duterte said.

During the conversation, Trump said, “no media supported me and I did it on my own,” according to Duterte.

Duterte, who has been critical of President Barack Obama, appears to have formed a budding friendship with the next president of the United States. For his part, Trump has not objected to comparisons to the Philippine leader, who has been criticized by human rights groups for carrying out extrajudicial killings in his crackdown on drug traffickers.

White House press secretary Josh Earnest said on Wednesday that the “vigilante justice” under Duterte’s watch runs counter to basic American values. Earnest has frequently been asked to respond to Duterte’s attacks on Obama, including the time he called his U.S. counterpart a “son of a whore.”

At one point, the Philippines leader said the U.S. had “lost” and that the long alliance between the two countries was over. But a spokesman for the president later walked back the threat.

According to Duterte’s office, Trump has invited the Philippines president for a visit to the United States.