A Barrington police officer was found guilty Friday of obstructing justice and domestic cyberstalking after harassing his former wife.
A jury convicted Sgt. Joseph Andreozzi in Superior Court. A sentencing date has not been scheduled.
The maximum penalty on the obstruction charge, which is a felony, is five years in prison. The maximum penalty on the cyberstalking charge, a misdemeanor, is one year.
Attorney General Peter Kilmartin issued a statement that said in part, "As a police officer, sworn to uphold the law at all times, the defendant has a moral, ethical and legal obligation to conduct himself with the highest standard of integrity, which he clearly failed to do. Moreover, it is abhorrent that the defendant would obstruct his fellow officers from doing their jobs in conducting this investigation."
Authorities said Andreozzi used a computer program to remotely delete the text messages from his phone after it was seized by police investigating the alleged cyberstalking.
During the trial, Andreozzi's lawyer said the officer was just trying to delete personal information about his children and his health.
Chief John LaCross of the Barrington Police Department asked the state police to handle the case to avoid any conflict of interest.
The Associated Press contributed to this report.