Edward Archer also was charged with aggravated assault, assault of a law enforcement officer and several firearms crimes yesterday. He is being held without bail.
A preliminary hearing is scheduled for Jan 25. The Defender Association of Philadelphia, listed in court documents as representing him, couldn't be reached yesterday for comment.
Authorities say Archer, 30, of Yeadon, Pennsylvania, fired at least 13 shots toward the officer as he patrolled his usual west Philadelphia beat shortly before midnight on Thursday.
Officer Jesse Hartnett, although seriously wounded, was able to get out of his car, chase the man and return fire, wounding him in the buttocks, police said. Other officers chased Archer and apprehended him about a block away.
More From This Section
Investigators said Archer told them he was "following Allah" and pledged allegiance to the Islamic State group, and he believed the police department defends laws that are contrary to Islam.
Investigators believe Archer traveled to Saudi Arabia in 2011 and to Egypt in 2012. They are investigating the purpose of those trips, FBI special agent Eric Ruona said.
Archer's mother told The Philadelphia Inquirer that her son had been hearing voices recently and had felt targeted by police. She said the family had asked him to get help.
An attorney who briefly represented Archer in a 2012 case told WCAU-TV on Friday that his client was "always looking over his shoulder."
"He was very impulsive, he was very paranoid," said Doug Dolfman, who represented Archer for three weeks after being hired by his mother, the station reported.