A man who tried to kill a police officer and sheriff's deputy has been committed to a mental health facility for 80 years.

Richard Klemz was charged after a Dec. 10 incident that culminated with officers shooting Klemz outside the Algoma town hall near Oshkosh after he rammed a squad car and tried to run down the officers. Authorities say it started earlier with a domestic dispute when Klemz threatened to hurt himself.

WLUK-TV reported that Klemz was due for a plea hearing Friday, but a Winnebago County judge last Wednesday declared him to be not guilty by reason of mental disease or defect, and committed him.

Klemz wrote apologies to the officers, saying he suffered from severe depression for a long time and doesn't remember anything about that day.