(CNN Philippines) - President Rodrigo Duterte named government officials, members of the judiciary, and police officials allegedly linked to illegal drugs during a speech in Davao early Sunday morning.

"It’s very important for the people to know the state of things of conditions in this country. That is my sworn duty."

He identified eight judges, more than 50 sitting and former mayors and vice mayors, and 40 active, retired and non-commissioned police officers allegedly involved in the drug trade. All active police officers were relieved.

“This is not personal to me. Hindi ko kayo kalaban. Wala kong samang loob sa inyo. Pero galit na ako ngayon.”

[Translation: This is not personal to me. I am not your enemy. I don't have ill feelings toward you. But I am angry now.]

Some of them are his friends — but that did not stop him from naming them. He says it’s either he reads all the names he had at hand, or not read them out at all.

He ordered all security personnel of the named officials to report back to their respective mother units within 24 hours.

"Twenty-four hours. Lahat. Military, pulis na nakadikit diyan sa mga itong mga ‘to. I give you 24 hours to report to your mother unit or I will whack you. I’ll dismiss you from the service."

[Translation: Twenty-four hours. All you military and police personnel attached to these individuals. I give you 24 hours to report to your mother unit or I will whack you. I’ll dismiss you from the service.]

The President also ordered the immediate cancellation of all weapons permits issued to the officials he mentioned.

He said that there are about 600,000 addicts, pushers and users in the country, "because government personnel were into it (illegal drug trade)."

Duterte said he's ready to face the consequences if he's wrong about the names. He addressed the media after naming the suspects.

CNN Philippines' Ina Andolong contributed to this report.