Associated Press

ELDRIDGE, Ia. — Court documents say a 12-year-old Iowa boy pointed a gun at his teacher's face and pulled the trigger, but the safety was on.

The Courier reports that court documents say the boy entered a North Scott Junior High classroom on Aug. 31 with a .22-caliber handgun and ordered everyone to the floor before he tried to shoot the teacher. Investigators say when the loaded gun failed to fire, the teacher wrestled it away from him.

The boy is charged with attempted murder, having a weapon on school grounds and assault while displaying a dangerous weapon. He remains in the Scott County Juvenile Detention Center.