A man was injured early Sunday in a shooting in Homewood.

The man, who was not identified, was found shot in the leg after Pittsburgh police received a ShotSpotter alert around 1:45 a.m. for multiple rounds fired in the area of Frankstown and Brushton avenues.

The man was taken to the hospital in stable condition, according to the city’s Public Safety Department.

A male suspect was detained close to the scene, and a K-9 unit found a discarded firearm, police said.

According to police, it is the second ShotSpotter Alert reported on Frankstown Avenue in September. On Sept. 2, officers responded to another shooting, just blocks away, when a male was found with multiple gunshot wounds at the intersection of Frankstown Avenue and Collier Street.