TAYLOR, Mich. (AP) — A 15-year-old Detroit-area student has been charged after allegedly threatening a high school security guard and being caught with a gun.

The teen was to appear Thursday at a preliminary hearing for carrying a concealed weapon, an intentional threat to commit an act of violence against school employees or school, and weapons possession charges, the Wayne County prosecutor’s office said.

READ MORE: Michigan Man Linked To Supremacist Group Gets 56 Months To 20 Years

He will be prosecuted as a juvenile.

Taylor police officers arrested the teen Wednesday morning at Taylor High School, southwest of Detroit. They were called to the school after the teen was told to return to class and allegedly threatened to shoot a security officer.

READ MORE: General Motors Reinstates Dividend Suspended In Pandemic

Police found the loaded gun in the teen’s fanny pack. The gun’s serial number had been filed off.

No students or other staff members at the school were threatened, police said.

MORE NEWS: Detroit's Historic Marlborough Apartments To Reopen For First Time In 40 Years

© 2021 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.