YARMOUTH — A student in Yarmouth will face academic discipline after the student brought a pellet gun to Yarmouth High School on Thursday, the principal said.

Principal Ted Hall notified students and parents in an email message detailing the 10 a.m. incident. The gun cotained no pellets or propellant.

“I feel it is very important for parents and students to know the facts concerning any issue that involves weapons in our school,” Hall wrote. “This is one way we can continue to maintain a safe school.”

The student in question was pulled from a class, searched, and found to be in possession of the pellet gun, which looked like a handgun, Hall wrote.

Hall said a second pupil notified an assistant principal of the possible presence of a weapon. Students and staff were not in any danger, Hall said in a telephone interview Friday.

Police were notified and confiscated the weapon, Hall said. Hall said federal privacy law prohibited him from disclosing details about the student, including age, gender, or grade level.

A call to Yarmouth Police Chief Michael Morrill was not immediately returned.

School policy allows Hall to suspend the student or recommend expulsion, according to the Yarmouth policy manual.