A Canadian man has opened fire in a Philippine courtroom, killing two people and wounding a prosecutor before being shot and wounded by officers, police have said.
Police said the suspect appeared in a Cebu court to face malicious mischief charges when he pulled out a gun and shot a prosecutor, a lawyer and another person.
Regional police director Marcelo Garbo said the gunman was wounded by responding police after ignoring orders to surrender and trying to fire at them.
He and the prosecutor were taken to a hospital.
The suspect was identified as John Pope, a resident of central Cebu city. Mr Garbo said police were investigating his background.
The shooting came after several recent killings in the country that prompted calls for a tighter gun control.