A "lucky" store customer who intervened in a gunpoint robbery in South Philadelphia Monday evening was shot twice by the robber, but is expected to survive his wounds, police said.

Cops said they were called to Koh Kong Grocery, at 7th and Moyamensing streets, shortly before 6 p.m. after a masked gunman burst into the store and announced a robbery. A 40-year-old customer intervened in the robbery and struggled with the gunman, Chief Inspector Scott Small said. During the struggle, the robber shot the customer twice – once in the head and once in the leg, Small said.

The victim was rushed to Thomas Jefferson University Hospital and initially reported in critical condition. Small said he was later upgraded to stable condition and though he lost a lot of blood inside the store, the bullet to his head did not penetrate his skull.

"He's a very lucky young man," Small said, adding that the victim is expected to survive.

Small said surveillance video shows the robber leaving the store after the shooting and running northbound on 7th Street from Moyamensing. He wore a royal blue hooded sweatshirt and a mask. A suspected accomplice who waited outside the store – who Small said investigators believe acted as a lookout – ran east on Moyamensing from 7th.

"Fortunately for us, private surveillance cameras at a nearby business captured both suspects running from the scene," Small said.

It was unclear if the robbers were able to take anything from the store.

Several witnesses who were inside the store at the time were taken to be interviewed by detectives, police said.