President Rodrigo Duterte has said he is pulling the Philippines out of the treaty underpinning the International Criminal Court, which is examining his deadly drug war.
"I therefore declare and forthwith give notice ... that the Philippines is withdrawing its ratification of the Rome Statute effective immediately," Mr Duterte said in a statement.
The Hague-based ICC announced last month it was launching a "preliminary examination" of Mr Duterte's bloody anti-drug crackdown that has drawn international concern.
Police say they have killed nearly 4,000 drug suspects as part of the campaign, while rights groups claim the toll is around three times the numbers given by authorities.
The outspoken Philippine leader, who is accused of stoking the killings with inflammatory statements, has taken issue over the Philippines becoming the first southeast Asian nation put under a preliminary examination by the ICC prosecutor.
Opened in 2002, the ICC is the world's only permanent war crimes court and aims to prosecute the worst abuses when national courts are unable or unwilling.
The Philippines, under previous President Benigno Aquino, ratified in 2011 the Rome Statute that underpins the ICC, giving the tribunal authority to investigate crimes on its soil.
Mr Duterte, a former lawyer, has now attacked the ICC's preliminary examination into his anti-narcotics campaign saying it was "unduly and maliciously created".
"It is apparent that the ICC is being utilised as a political tool against the Philippines," he said.
In his statement, Mr Duterte cited "baseless, unprecedented and outrageous attacks on his person as well my administration".
"The acts allegedly committed by me are neither genocide nor war crimes. The deaths occurring in the process of legitimate police operations lacked the intent to kill," he added.
But even as early as 13 October, 2016, when Mr Duterte had only been in office less than four months, the ICC prosecutor Fatou Bensouda said in a statement that she was "deeply concerned" over reports of extra-judicial killings of more than 3,000 alleged drug users and pushers.
Adding pressure on Manila, in February, the UN Human Rights Council in Geneva raised the country's human rights record with calls on the Philippines to accept the visit of a UN Special Rapporteur.
Philippine officials had initially said in February that the country was ready to cooperate but asked for fairness.