Follow CBSPHILLY Facebook  | Twitter

PHILADELPHIA (CBS) — Two men are hospitalized after gunfire erupted outside of a bar in Feltonville overnight.

READ MORE: 4 Shot Inside Park City Center Mall, Lancaster Police Say

85-Year-Old Grandmother Buried With Strangers, Family Didn’t Find Out About Her Death Until 7 Months Later

The shooting happened on the 4800 block of  Front Street at approximately 4:30 a.m.

Police say one man tried to rob another man at gunpoint and shot him.

READ MORE: 'Everyone Was In Pure Panic': Good Samaritans Rush To Shooting Victims' Aid At Park City Center Mall

Credit: CBS3

In an attempt to help the robbery victim, another man present at the bar shot the suspected robber.

That man is licensed to carry a gun.

Surveillance Footage Released In Deadly Cheltenham Township Road Rage Shooting

MORE NEWS: Man In Critical Condition After Fairhill Shooting, Police Say

Both the victim and the suspect are in the hospital in critical condition.