File Photo – Barrington High School | Photo: Barrington Community Unit School District 220

Officers arrested a student who was found with a pellet gun at Barrington High School, prompting the school to go on hard lockdown Friday morning.

The school went into a “full building lockdown,” according to a message sent to parents from Barrington 220 administration.

The lockdown occurred just before school started around 8:30 a.m. Friday.

School officials said a group of students notified administrators about another student carrying a gun in one of the bathrooms.

The school was put on immediate lockdown “out of an abundance of caution.”

The Barrington Police Department responded to the school.

The school resource officer was the first to locate the student, who was carrying a pellet gun underneath their clothing, according to the school.

The student was taken into police custody and the lockdown was lifted.

Parents were seen picking up their children from the school following the lockdown.

[Suggested Article]  Coyote seriously injured after being hit by car, impaled in grille of car in Lake County

A photo posted on social media showed a classroom door barricaded with tables during the lockdown.

Officials said there is no threat at Barrington High School and classes have fully resumed.

“We understand that our students may need support in processing what happened today. Our Student Services center is available for students who may want to speak to our mental health professionals,” the school said in a statement.

“‘If you see something, say something’ is a phrase that we share with our students often and this is an example of how reporting can help school administrators and law enforcement take immediate action to keep everyone safe,” the statement said.