NAMPA, Idaho (AP) — Nampa School District Superintendent Tom Michaelson has resigned seven months after being brought in to help the district grapple with a $5.1 million deficit due to previous budgeting errors. School trustees at the same meeting Tuesday appointed Nampa High School Principal Pete Koehler to take over the superintendent job.

In another decision, trustees refused to cut 18 elementary music and physical education teachers and counselors. But trustees did approve cutting through attrition 12 elementary and 15 secondary teachers.

A series of financial miscues have led to the problems, including discoveries last summer that the district counted almost $3 million in one-time money twice and over-expenditure of about $1 million. Earlier this month, a financial analyst discovered $1.2 million went to general operations rather than repayment of bonds.