A suspect was arrested after a shooting outside "The Last Shot" bar in Philadelphia early Wednesday morning.

The incident happened at the bar which is located in the 2700 block of Allegheny Avenue in the city’s Port Richmond section.

Investigators say it began as a fight between a 41-year-old male and a 23-year-old male. The fight then spilled outside, police said.

Once outside, police say the 23-year-old pulled out a gun and opened fire, striking the victim several times. The victim managed to run back inside the bar.

The suspect then opened fire on the bar itself, firing two shots at the front door. The bullets narrowly missed several patrons inside the bar.

The suspect initially drove away from the scene, but witnesses were able to write down his license plate number and he was taken into custody a short time later.

The victim is in critical condition at Temple University Hospital.

The suspect’s identity was not immediately released.

The shooting remains under investigation.