A 13-year-old was charged after taking a small air pistol to Whitley County Middle School on Tuesday because other students were bothering him, authorities said.
The school temporarily went on lockdown, with students confined to classrooms, and the student was escorted to the office, where a search uncovered the unloaded "airsoft" pistol, school district officials said.
Students and staff were not in danger, the school district said. The incident occurred about 8:20 a.m. Tuesday.
Whitley County Sheriff Colan Harrell said the boy was charged with disorderly conduct and bringing a weapon onto school property.
The student said that he brought the pistol to school because some other students were bothering him, according to Harrell.
Airsoft guns are replicas of real guns; they fire spherical, non-metallic pellets. The pistols are used in games. Harrell said his department and some other police agencies use them in training.
The pistol involved in Tuesday's incident resembled a 9mm semi-automatic, Harrell said.