Officials investigate the scene of a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police cruiser, authorities said. (AP Photo/Joseph Kaczmarek)

Officials investigate the scene of a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police cruiser,

A gun sits by a marker following a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police cruiser, authorities said. (AP Photo/Joseph Kaczmarek)

A gun sits by a marker following a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police cruiser,

An investigator walks through the scene of a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police cruiser, authorities said. (AP Photo/Joseph Kaczmarek)

An investigator walks through the scene of a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police

A law enforcement agent investigates the scene of a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police cruiser, authorities said. (AP Photo/Joseph Kaczmarek)

A law enforcement agent investigates the scene of a shooting Friday, Jan. 8, 2016, in Philadelphia. A Philadelphia police officer was shot multiple times by a man who ambushed him as he sat in his marked police

PHILADELPHIA (AP) -- A Philadelphia police officer was ambushed by a man while sitting in his marked cruiser, and was in stable condition Friday after being shot three times in his left arm, officials said.

Police Commissioner Richard Ross said the suspect fired 13 shots that hit Officer Jessie Hartnett and his car late Thursday. He said the officer returned fire, hitting his assailant at least three times.

"This is absolutely one of the scariest things I've ever seen," Ross said at a news conference early Friday. "This guy tried to execute the police officer. The police officer had no idea he was coming."

The suspect ran away but was quickly apprehended by other officers, authorities said.

Ross, who was sworn in as commissioner Tuesday, said there was no apparent motive for the attack.

There was no immediate word on the suspect's condition. Officer Christine O'Brien said the man was stuck at least once in the buttock.

Jim Kenney, who is 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 on the heels of President Barack Obama's announcement on Tuesday of his plan to tighten gun control laws.