Mr. Flynn allegedly had an inappropriate relationship with a female student at the high school.

According to Lt. Shaw, a teacher noticed that Mr. Flynn spent a lot of time with the student, and after the witnessing teacher made inquiries, brought the matter to the administration's attention.

Lt. Shaw said there was "quite a bit of texting" between the teacher and student.

Eventually, the girl was interviewed and disclosed that the two had a sexual relationship in Palmer.

The Hampden district attorney's office did not return a phone message Thursday.

Webster school Superintendent Barbara Malkas said: "This is an ongoing investigation, and we're fully cooperating with the Police Department, and because of that we are not able to provide any comment at this time."

Because it is summer session, the teacher is not working or receiving compensation at this time, Ms. Malkas said when asked whether Mr. Flynn had been placed on paid or unpaid administrative leave of absence.

Ms. Malkas said Mr. Flynn had been hired in August 1998.

Contact Brian Lee at brian.lee@telegram.com. Follow him on Twitter at @BleeTG