A 15-year-old was arrested Saturday after one man was wounded in a shooting at a Jersey City public housing complex, authorities said.

Detectives charged the teenager with unlawful possession of a weapon, possession of firearms by a minor, possession of a weapon for unlawful purposes and defacing a weapon, police said.

Officers responded to a call of shots fired in the area of the Montgomery Gardens housing complex just before midnight. While investigating, police observed the teenager discard a handgun into a trash can in the area. They recovered the gun, a fully loaded .40 caliber Smith & Wesson pistol, and arrested the teen nearby, police said.

Investigators then received a report that a man — later identified as a 27-year-old Jersey City resident — was being treated at Christ Hospital for a non-life-threatening gunshot wound, police said.

The victim, who drove himself to the hospital, was uncooperative with investigators. He was later taken to Jersey City Medical Center for further treatment, authorities said.

The shooting is still under investigation, police said.