MANILA, Philippines -- Local police ended a half-hour bus hijacking by shooting the perpetrator, who was declared dead on arrival at the hospital.

Police said the man hijacked the bus with a knife and while he had started to talk with authorities, they shot him when it seemed he would hurt passengers, ABS-CBN reported. 

One passenger was brought to hospital with slight injuries, the Philippine Daily Inquirer reported. The incident happened near a metro station on Taft Avenue, a busy street where many schools are located.

Manila Vice Mayor Isko Moreno backed the quick action, saying authorities had "learned their lesson" from an hours-long bus hijacking in 2010 that left eight Hong Kong residents dead. That incident soured the Philippines' relations with Hong Kong and China.