A William Floyd High School student brought a broken pellet gun to school Thursday and will face "appropriate disciplinary action," district officials said.

Administrators at the Mastic Beach school found out just before dismissal that it was in the student's possession, said district spokesman James Montalto. Police and the student's parents were called, he said in a statement.

advertisement | advertise on newsday

School officials discovered the item when they asked what was in the student's bag, the spokesman said.

The student was not arrested, Montalto said: "The police arrived and determined that due to the fact that the student is a juvenile, that the gun was broken and there was no malicious intent, an arrest would not be made." Montalto declined to give the student's age, grade and other details, citing federal law protecting students' privacy.