UPDATE: Islam reportedly cited as motive in Philly cop shooting

PHILADELPHIA -- A Philadelphia police officer was shot three times in his arm while sitting in his patrol car late Thursday in what authorities are calling an ambush, reports said.

Officer Jesse Hartnett, 33, suffered a broken arm and required surgery at a Philadelphia hospital though he was awake and alert, according to 6ABC.com.

The gunman, who has not been named, fired a total of 13 shots that hit the officer and riddled the driver's side of his patrol car with bullets at 60th and Spruce streets in the city around 11:30 p.m., according to CBS Philly. Hartnett returned fire and hit the 30-year-old man three times, CBS Philly reported.

#CBS3Breaking: Police sources tell #CBS3- suspect who shot @PhillyPolice officer confessed & said he did it in the name of Islam. — Steve Lindsay CBS (@SteveLindsayCBS) January 8, 2016

The suspect was taken to the Hospital of the University of Pennsylvania for treatment, the report said.

No motive was provided in a news conference early Friday outside Penn Presbyterian Hospital where the officer is being treated, reports said. On his Facebook page, Hartnett writes that he's a native of East Lansdowne, Pennsylvania, and served with the U.S. Coast Guard for more than a decade.

Hartnett's LinkedIn profile page indicates that he's a four-year veteran of the force and attended Delaware County Community College.