Police opened fire on a 19-year-old man in West Philadelphia's Parkside neighborhood late last night after he allegedly pulled a gun on officers who tried to stop him for investigation.

Police from the 19th District attempted to stop the man a few minutes before midnight on Master Street near 51st to investigate him for a curfew violation, department spokesman Lt. John Stanford said. The man took off running south on 51st Street, then onto Kershaw Street with police chasing him, and at one point, pulled out a gun, Stanford said. One officer fired shots at him, but missed.

The suspect then managed to get onto a rooftop of a house on Kershaw Street, where police eventually found him and arrested him, Stanford said. A BB gun was also recovered on the roof.

There were no injuries to police, the suspect or civilians reported in the incident.