SEARSPORT — Prosecutors have decided not to retry a former Searsport elementary school teacher whose conviction on charges he sexually abused a 12-year-old were overturned by the state’s highest court.

William Wiley had been sentenced to three years in prison after being found guilty of sexually abusing the girl over a six-month period in 2004.

Wiley, a former music teacher, said in his appeal to the Supreme Judicial Court that had not been advised of his Miranda rights prior to questioning by police and statements made before and after his arrest were involuntary.

The high court agreed with Wiley.

WABI-TV reports that Waldo County prosecutors have dismissed charges against Wiley.

The alleged victim was not one of his students and he always maintained his innocence.