The suspect in the shooting of a Philadelphia policeman told investigators he shot the officer in the name of Islam and pledged allegiance to the Islamic State group, according to US police.
A spokesman also said the man used a stolen police gun in the shooting.
The officer has been identified as Officer Jessie Hartnett.
He was shot three times in the arm as he sat in his police car. Police said the shooting was unprovoked.
The officer fired back and wounded the suspect.
Police said the suspect fired a total of 13 shots that hit the officer and his car.
The suspect was identified as 30-year-old Edward Archer.
Police commissioner Richard Ross said Archer told police he believed the department defends laws that are contrary to Islam.
Ross said there was no apparent motive for the attack and that there was no indication anybody else was involved.
Hartnett shouted “I’m bleeding heavily” into his police radio, got out of his car, and chased the suspect before police apprehended him.
The gunman fired at least 13 shots towards Hartnett and eventually reached through the driver’s side window. The officer returned fire, hitting his attacker at least three times.
Hartnett, 33, was in a stable condition last night.
“I don’t know how this officer survived,” Ross said.
“This is absolutely one of the scariest things I’ve ever seen.”
The gun used by Archer was stolen from an officer’s home in 2013, police said.
Jim Kenney, in his first week as mayor of the nation’s fifth-largest city, said, “There are just too many guns on the streets, and I think our national government needs to do something about that.”
His statement comes after President Barack Obama’s announcement on Tuesday of his plan to tighten gun control laws.
Archer’s mother, Valerie Holliday, said her son has been hearing voices recently and that the family asked him to get help. She also described him as a devout Muslim.
© Irish Examiner Ltd. All rights reserved