(CNN) — Michigan police charged a 33-year-old man Tuesday after a student brought a homemade explosive device to a high school and accidentally detonated it.

David Robert Daniel Saylor — who turns 34 on Wednesday — was arraigned on one count of manufacturing a Molotov cocktail and one count of contributing to the delinquency of a minor, according to a news release from Newaygo County Prosecuting Attorney Worth Stay.

READ MORE: Gov. Whitmer, Lt. Gov. Gilchrist, SOS Benson React To Derek Chauvin Guilty Verdict

Saylor is also charged as a habitual offender with a second offense notice, the news release said. CNN has reached out to Saylor’s attorney, Rick Prysock, for comment.

The explosion happened Monday morning in a classroom at Newaygo High School, about 42 miles north of Grand Rapids, state police said. The 16-year-old boy who brought the explosive device was injured along with four other students, police said.

READ MORE: Michigan Reports 5,259 New COVID-19 Cases, 85 Deaths Tuesday

Based on the initial investigation, it appears the student had no ill intent and did not intend to detonate the device, Michigan State Police spokesperson Michelle Robinson told CNN.

The explosion at the high school prompted Michigan State Police troopers to execute a warrant at a Newaygo County residence where “additional explosive materials” were found Monday. Those devices were “safely detonated” by the Michigan State Police Bomb Squad, according to a tweet from state police.

Saylor’s next court date is March 18, according to the prosecuting attorney’s office.

MORE NEWS: Police Seek Driver Who Hit, Killed Black Bear

The-CNN-Wire™ & © 2021 Cable News Network, Inc., a WarnerMedia Company. All rights reserved.