THE BRONX — An NYPD officer is out of the hospital after police say he was shot by a 16-year-old in the Bronx Tuesday night.

The officer was released from St. Barnabas overnight.

Police say he was shot around 9:30 p.m. near Lorillard Place and 187th Street in Belmont.

Police Commissioner Keechant Sewell says six uniformed officers from the 48th precinct approached a large group people whom she described as "disorderly."

Sewell says the 16-year-old refused an officer's command to remove his hands from his pockets and that led to a struggle.

"At this point, there was a single round fired from the suspect's firearm that struck the suspect in his left groin area and exited the suspect and struck the officer in the right leg," Sewell said.

Mayor Eric Adams says the teen was arrested for gun possession when he was 14 and had just been placed on probation last month.

He also expressed frustration at the proliferation of guns on city streets.

"We are putting our communities in harm's way, we are putting our police in harm's way, and we don't seem to get it," said Adams. "It is unacceptable to be in possession of a gun in the city of New York. Yet the signal on the street is that it's acceptable."

Investigators say the gun was stolen from South Carolina and that the teen is a member of a group that's affiliated with the Crips street gang.

The teenager was also transported to St. Barnabas Hospital in stable condition.