The reason isn't clear.

STANLEY, N.D. (AP) — A former teacher has been sentenced to probation and time served for destroying a printer with a hammer at the New Town High School.

Authorities say Lukas Kostelecky came into a classroom at the high school's vocational building in February carrying a hammer in a grocery bag, and used the tool to smash the $6,700 printer to pieces. The reason isn't clear.

The Minot Daily News reports Kostelecky pleaded guilty to misdemeanor criminal mischief on Thursday. He was sentenced to about a year of probation and restitution and fined $2,000. He also was given a six-month jail sentence with all of it suspended except for the four days he served behind bars earlier.

Kostelecky resigned from the school after the incident and now lives in Dickinson.