MANILA: A Philippine mayor on President Rodrigo Duterte’s list of allegedly narcotics-linked officials was shot dead Monday by a "sniper" in a broad daylight attack at a town ceremony, police said.

Antonio Halili was hit in the chest by a single shot fired from a distance, unleashing chaotic scenes during the weekly flag raising ceremony at the town hall in Tanauan, south of Manila.

In the moments that followed, terrified onlookers screamed and the mayor’s security details opened fire, video of the scene showed.

However, the shooter managed to escape and Halili was pronounced dead at hospital.

Town police chief Renato Mercado told AFP the shot was fired from about 150 metres away.

"The distance from the position was extraordinary. It could not be done by an ordinary person. His skill can be compared to a trained sniper," he told AFP.

The controversial Halili had compared himself to Duterte as he publicly shared the president’s hardline position against crime and illegal drugs.

But in 2017, Halili’s name surfaced on a "narco-list" presented by Duterte, of officials allegedly linked to narcotics.

Halili was stripped of control of the police following the publication of the list, but he denied any ties to drugs.

Though the Philippines sees occasional slayings of local politicians, the brazen nature of the killing and links to Duterte’s drug war drew immediate outrage.