Philippine President Rodrigo Duterte will withdraw from the International Criminal Court's (ICC) Rome Statute, officials said on Wednesday, due to what he said were attacks by U.N. officials and violations of due process by the ICC.

The ICC on Feb. 8 started a preliminary examination of a complaint filed by a Philippine lawyer accusing Duterte and top officials of crimes against humanity committed during a war on drugs that has killed thousands of people.

Presidential spokesman Harry Roque confirmed in a text message to reporters that the Philippines was withdrawing, as stated in a 15-page statement dated March 13 seen by reporters, which said the withdrawal was "effective immediately."