Philippine President Rodrigo Duterte’s plan to “kill all” the country’s suspected drug users and dealers has many foreign critics, including the United States, the European Parliament and the International Criminal Court. It now has at least one high-profile supporter: President-elect Donald Trump, at least according to Duterte.

In a statement on Saturday, Duterte shared details of a seven-minute conversation that took place on Friday. He said that during the call, Trump endorsed his campaign against drug users and dealers — a campaign that has left at least 4,500 Filipinos dead in about five months. Trump told Duterte that he was doing it the “right way,” according to Duterte’s account.

“I could sense a good rapport, an animated President-elect Trump,” he added. “And he was wishing me success in my campaign against the drug problem.”

The comments, which have not been confirmed by Trump’s team, could signal another significant twist in U.S.-Philippine ties.

The most controversial quotes from Rodrigo Duterte Show all 9 1 /9 The most controversial quotes from Rodrigo Duterte The most controversial quotes from Rodrigo Duterte On killing drug addicts “These sons of whores are destroying our children. I warn you, don’t go into that, even if you’re a policeman, because I will really kill you. If you know of any addicts, go ahead and kill them yourself as getting their parents to do it would be too painful” The most controversial quotes from Rodrigo Duterte Message to China “I will go there on my own with a Jet Ski, bringing along with me a [Phillipino] flag and a pole, and once I disembark, I will plant the flag on the runway and tell the Chinese authorities, ‘Kill me’ ” AP The most controversial quotes from Rodrigo Duterte Christmas message to law-breakers “If you do not want to stop, and just continue committing crimes, then this would be your last Merry Christmas” AP The most controversial quotes from Rodrigo Duterte On sex life “I was separated from my wife. I’m not impotent. What am I supposed to do? Let this hang forever? When I take Viagra, it stands up” AFP/Getty Images The most controversial quotes from Rodrigo Duterte On the drugs trade “None of my children are into illegal drugs. But my order is, even if it is a member of my family, ‘kill him'" AP The most controversial quotes from Rodrigo Duterte Insulting the Pope “We were affected by the traffic. It took us five hours. I asked why, they said it was closed. I asked who is coming. They answered, the pope. I wanted to call him: ‘Pope, son of a wh**e, go home. Do not visit us again’” AFP/Getty Images The most controversial quotes from Rodrigo Duterte Joke about rape “I saw her face and I thought, 'What a pity... they raped her, they all lined up. I was mad she was raped but she was so beautiful. I thought, the mayor should have been first” AFP/Getty The most controversial quotes from Rodrigo Duterte Insulting Barack Obama "Mr Obama should be respectful and refrain from throwing questions at me about the killings, or son of a bitch, I will swear at you in that forum" REUTERS The most controversial quotes from Rodrigo Duterte On Abu Sayyaf Islamic militants "If I have to face them, you know I can eat humans. I will really open up your body. Just give me vinegar and salt, and I will eat you. If you annoy me to the fullest... I will eat you alive. Raw" EPA

The Philippines is a former U.S. colony that has been a close U.S. partner for decades. Since sweeping to power last spring, Duterte has repeatedly lashed out at his longtime ally, threatening to ditch the United States for China and Russia.

In September, when President Obama raised questions about the bloody anti-drug crusade, Duterte lectured him on colonialism, referring to him with a slang term that translates, roughly, as “son of a whore.”

In the weeks that followed, he made several surprise announcements on U.S.-Philippine military ties, calling for the ouster of U.S. Special Operations forces from the southern island of Mindanao and the end of joint U.S.-Philippine military exercises — only to backtrack repeatedly.

Russian President Vladimir Putin (R) meets with his Philippines' counterpart Rodrigo Duterte on the sidelines of the Asia-Pacific Economic Cooperation Summit (APEC) in Lima on November 19, 2016 (AFP/Getty)

But Trump’s triumph in the US presidential race saw Duterte switch direction again. Weeks after railing against “uncivilized” Americans, Duterte greeted the U.S. president-elect with an enthusiastic “long live” Trump. Duterte also mused that they might get along — because they both like to swear.

For the Philippine president, an expression of support from Trump could help reset ties with the United States. But endorsing Duterte’s crackdown may put Trump at odds with allies such as the European Union, whose parliament issued a resolution urging the Philippines to halt “extrajudicial executions and killings” in connection with the drug war.