A Massachusetts state trooper arrested Thursday after authorities said he repeatedly violated a restraining order obtained by his wife has been relieved of duty, pending a status hearing next week.

The state police relieved Trooper John Hanna of duty for five days, spokesman David Procopio said.

Procopio said Hanna will be the subject of a duty status hearing next week, and his work status will be reassessed.

Hanna turned himself in to the state police on Thursday on a Natick District Court warrant that charged him with three counts of a restraining order violation.

At his arraignment on Thursday, Hanna pleaded not guilty. Authorities said Hanna repeatedly violated the restraining order his wife took out against him in March. The prosecutor said Hanna would leave notes for her at a neighbor�s home and would have other troopers forward as many as 500 texts to his wife, with whom he is not allowed to have any direct, or indirect, contact.

Hanna was released without bail at his arraignment.

Hanna is assigned to the Massachusetts State Police Compliance Unit, which works with the Registry of Motor Vehicles, to investigate license fraud.

Norman Miller can be reached at 508-626-3823 or nmiller@wickedlocal.com. For up-to-date crime news, follow Norman Miller on Twitter @Norman_MillerMW.