An attempted robbery victim in Philadelphia apparently turned the tables on a suspect Wednesday and shot him with his own gun, according to media reports. 

The robbery occurred around 11:25 a.m. when a man was unloading groceries from his car when a suspect approached saying "this is a robbery" and pointed a gun at him, Fox Philadelphia reported. 

PHILADELPHIA MAN SHOT AFTER CONFRONTING CATALYTIC CONVERTER THIEVES; 4 SUSPECTS SOUGHT

Philadelphia robbery victim

A robbery victim in Philadelphia reportedly shot an attacker with his own gun Wednesday.  (Fox Philadelphia)

The pair struggled over the weapon before the victim gained control of it. The gun fired and grazed the suspect in the stomach, the news outlet reported. 

He was taken to a hospital in stable condition. 

CLICK HERE TO GET THE FOX NEWS APP

The victim sustained a hand injury from a bite but did not seek medical treatment. Philadelphia authorities recovered the weapon.