A teenager carrying what appeared to be a pistol was arrested at a Boston public school on Tuesday, police said.
The arrest was made at Dearborn Stem Academy, Boston police said. The 14-year-old had been detained by school safety officers after they spotted him with the weapon in his waistband.
The weapon wasn't a gun, officials found, but a BB gun that looks like a Glock pistol.
The teenager, who hasn't been identified, was detained while city police officers arrived at the scene. Officials determined that he isn't enrolled in Dearborn Stem Academy or any Boston public schools.
Get Boston local news, weather forecasts, lifestyle and entertainment stories to your inbox. Sign up for NBC Boston’s newsletters.
The teen faces charges including having a firearm on school property and trespassing, police said. He is due in Boston Municipal Court.
Dearborn Stem Academy, in Roxbury, runs from 6th to 12th grade and was Boston's first to be focused on the STEM fields: science, technology, engineering and mathematics.