Follow CBSPHILLY Facebook  | Twitter

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

READ MORE: Triple Shooting At Penn's Landing Leaves 3 Teenagers Injured: Philadelphia Police

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: Philadelphia Weather: Heat Advisory In Effect Until Sunday Evening As Temperatures Hit Record Highs

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: Betts Falls Triple Shy Of Cycle, Leads Dodgers Past Phillies

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