BROCKTON, MASS. (WHDH) - A Brockton High School student will be criminally charged after a Snapchat photo showed him with a magazine clip in his waistband, prompting a stay-in-place order at the school on Friday morning, officials said.

Students were told to stay in place around 8 a.m. after the Snapchat post came to the attention of the school administration, the Brockton High School superintendent’s office wrote in an update to families.

School officials pulled the student from class and he allegedly admitted to having taken the photo in September and posting it Friday morning.

Along with being criminally charged, the superintendent’s office says the student will face school disciplinary procedures.

School officials say there was never an active threat at the high school.

The stay-in-place order was lifted around 9:30 a.m. and classes are continuing as scheduled.

“We want to thank you for your patience during another frustrating event at the high school and please know that further actions will be taken at the school,” the superintendent’s office wrote to families. “Please speak to your children about the dangers of social media.”

This incident comes two weeks after a student was arrested for reportedly bringing a gun into the high school.

This is a developing story; stay with 7NEWS on-air and online for the latest updates.

(Copyright (c) 2021 Sunbeam Television. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox