PHILADELPHIA (CBS) — Police say a suspected gunman in an armed robbery is in critical but stable condition after an officer-involved shooting in West Philadelphia on Tuesday morning.

The incident happened at 9:40 a.m. in the 4900 block of Walnut Street in the Cobbs Creek section of the city, when police say an officer shot the suspect, who was allegedly pulling something from his waist band, according to the officer.

Police say the suspect robbed someone at gunpoint at the Finest Deli in the 200 block of South 52nd Street. Police added the suspect stole money from the victim inside the deli.

The suspect then fled the scene in a stolen black 2017 Chevrolet Traverse with New Jersey tags, according to police.

Fifteen minutes after the robbery, police say they spotted the vehicle at 53rd and Hazel Streets. After checking the tags, police say they learned the vehicle was stolen in an early morning gunpoint robbery in the 5200 block of Church Road at 3:19 on Tuesday.

After searching for the suspect’s car, police say plainclothes officers discovered the suspect’s car near 49th and Walnut Streets after it had hit an innocent bystander driving in a 2006 Mercury Montego. That driver was not hurt.

Captain Sekou Kinebrew with the Philadelphia police says the driver of the car then backed into an unmarked police car.

“The officer and his partner attempted to extricate the male from the vehicle,” he explained. “The male refused the commands of the officers.”

One of the officers, a 4 year veteran of the 18th district, discharged his city issued firearm, one time, striking the suspect in the chest, according to police.

The officer was not injured.

Officials say the suspect was taken to Penn Presbyterian Medical.

Kinebrew says among other offenses, the suspect will be charged with robbery and assault on police.