A Massachusetts school superintendent who entered a student's home during a residency check and rummaged through her belongings is out of a job.

After a 4 1/2-hour meeting on Thursday night, the Mashpee School Committee and superintendent Brian Hyde announced that they had "amicably agreed to end their employment relationship."

The Cape Cod Times reports that Hyde left the meeting without comment.

Prosecutors say Hyde went to the home in September without permission and dug through a 17-year-old girl's belongings while trying to determine whether she really lived there. A judge acquitted him last week of misdemeanor trespassing and breaking and entering, saying he couldn't be convicted of trespassing because he wasn't expressly barred from the home.

Hyde was paid about $154,000 a year.