When a school security officer patted him down he began to struggle, so a teacher’s assistant restrained the boy. The security officer felt a hard object in the boy’s left boot and found an unloaded .22-caliber semi-automatic pistol, the report said.

Police were called for a school violence incident and made a "tactical entry" into that classroom, where the boy was placed into custody, according to a police report.

The boy was cited as a juvenile with unlawful use of a weapon, police said.