Getty Images

Man Confesses Allegiance To ISIS After He's Arrested For Shooting A Cop

A man who reportedly claimed to be acting on behalf of ISIS shot a police officer multiple times at close range in West Philadelphia last night.

According to Daily Mail, the 30-year-old gunman walked up to the police cruiser of 33-year-old Officer Jesse Hartnett, who was sitting inside, and fired 13 shots at the driver's side window.

Wearing a bulletproof vest, Hartnett got out of his car and fired multiple shots in return, reportedly hitting the gunman at least three times.

Hartnett is currently in stable condition after suffering three gunshots that left him with a broken arm and nerve damage.

The gunman attempted to flee the scene but was soon captured by numerous officers, and he's now in police custody, Huffington Post reports.

Philadelphia Police Commissioner Richard Ross reportedly said the gunman used a police handgun stolen in 2013 and confessed to acting in the name of ISIS.

The gunman apparently has a criminal record, though it's not clear what charges he previously faced.

Hartnett yelled, "I'm bleeding heavily!" into his police radio after being hit, according to ABC 6.

The five-year veteran of the force will undergo multiple surgeries but is expected to recover.

Philadelphia Mayor Jim Kenney reportedly said,

It's terrible and it does not represent the religion [Islam] in any way shape or form.

Kenney was inaugurated as mayor just four days ago.

He reportedly added,

There are just too many guns on the streets and I think our national government needs to do something about that.

The gunman's physical condition was not disclosed.

Citations: Gunman attempts to execute Philly cop in the name of Islam by firing 13 shots from point blank range as officer sits in squad car and its revealed he used a stolen POLICE handgun (Daily Mail), Man Accused of Shooting Philly Cop Pledged Allegiance to ISIS Police Say (ABC News), Philadelphia Officer Ambushed And Shot While Sitting In Police Cruiser (Huffington Post)