A 12-year-old boy in Iowa is in some serious trouble after he brought a loaded gun to school and pointed it at his teacher’s face!

According to the Washington Post, he aimed the gun at the teacher and pulled the trigger, but thankfully the safety was on so the teacher wasn’t hurt.

This scary incident went down last month at North Scott Junior High School in Eldridge, Iowa. What’s alarming about this is that he did this in front of his own classmates!

In the court documents it said that he told his classmates “to drop to the ground, and then took aim at his teacher, and pulled the trigger.” The boy is currently being held at the Scott County Juvenile Detention Center and was hit an attempted murder charge, and another one for having a weapon on campus.