PAW PAW, Mich. (WOOD) — The Paw Paw teen who allegedly planned an attack on his high school has pleaded guilty to two felony charges.

The 15-year-old, who is not being identified because he is a juvenile, pleaded guilty to firearm and felony explosives charges Wednesday. He was facing up to 10 charges for the incident.

The threat canceled classes on March 19 after authorities say he had created a detailed plan to shoot and kill classmates and others at Paw Paw High School. Authorities said he stole shotguns from his grandfather and sawed them off so they could be concealed, as well as gathered ammunition and materials to make bombs and Molotov cocktails.

His parents said the teen came to them and confessed to stealing the shotguns and cutting them down. After he came to them, they took him to the sheriff’s department.

Prosecutors wanted to try the teen as an adult, but a judge ruled he would be designated as a juvenile.