NEW YORK — Police say a 20-year-old man is in custody after he brought a loaded gun into a Bronx alternative high school.

WABC ( ) reports Wednesday that the incident happened at a school called Providing Urban Learners Success In Education.

The gun was in a bag.

The city’s education department said the weapon was “swiftly and safely confiscated” and all students and staff are safe.

There are no metal detectors at the school.