Alleged Philly Cop Shooter Who Pledged Allegiance to ISIS Charged With Attempted Murder

PHOTO: Edward Archer, 30, is accused of shooting a Philadelphia police officer.Philadelphia Police Department
Edward Archer, 30, is accused of shooting a Philadelphia police officer.

A gunman who allegedly pledged allegiance to ISIS when he fired at least 11 times at a Philadelphia police officer was charged today with attempted murder, among other related charges, the Philadelphia District Attorney's Office said.

The suspected gunman, Edward Archer, 30, was charged with attempted murder, aggravated assault, assault on a law enforcement officer, recklessly endangering another person, possession of an instrument of crime, violation of uniform firearms act and related offenses, the Philadelphia Police said today.

He is being held without bail, the District Attorney's Office said.

Archer confessed to committing the shooting "in the name of Islam," Philadelphia Police Commissioner Richard Ross said during a news conference Friday. "According to him, he believed that the police defend laws that are contrary to the teachings of the Quran."

Philadelphia Police Captain James Clark said the suspect "stated that he pledges his allegiance to Islamic State, he follows Allah and that is the reason he was called upon to do this."

PHOTO: Officials say that suspected gunman Edward Archer fired at least 11 shots at Philadelphia police officer Jesse Hartnett while he was in his police vehicle.Obtained by ABC News
Officials say that suspected gunman Edward Archer fired at least 11 shots at Philadelphia police officer Jesse Hartnett while he was in his police vehicle.

The suspect used a stolen police firearm and fired shots at close-range at Officer Jesse Hartnett while he was in his police vehicle Thursday night, police said. The weapon was stolen in 2013, police said.

"You can see the male in question going toward police officer Hartnett. ... He is literally inside that car," Ross said of an image of the shooting.

The gunman fired at least 11 shots, seriously wounding the cop, and then fled, authorities said. Harnett, a 4-year veteran of the department, got out of his car and chased the gunman, firing back at him.

PHOTO: Officer Jesse Hartnett was in his patrol car when he was shot on Jan. 7, 2016, said the Philadelphia police.Philadelphia Police
Officer Jesse Hartnett was in his patrol car when he was shot on Jan. 7, 2016, said the Philadelphia police.

"His will to live undoubtedly saved his life," Ross said.

Archer was hospitalized to be treated for a gunshot wound and later released, police said today.

Hartnett, 33, was shot three times, Ross said, noting he suffered serious injuries that will require multiple surgeries. He was in critical but stable condition, police said today.

"This could have easily been a police funeral," said Ross.

Archer, who police say had one previous arrest, traveled twice from New York-area airports to the Middle East -- to Saudi Arabia in 2011 for Hajj and to Egypt in 2012, two law enforcement sources told ABC News Friday. Archer has a U.S. passport and was not on a watch list, the sources said. The FBI, who is assisting Philadelphia police with the investigation, will look at whether his travels could have played a role in the shooting, the sources said.