Michael Dotro, 40, of Manalapan, pleaded guilty to attempted murder and second-degree arson in the May 2013 incident where the ex-cop set fire to Mark Anderko’s house while his family slept inside, Middlesex County Prosecutor Andrew Carey said. Dotro’s attorney, Robert Norton, said while he and his client were not happy with the results of the plea agreement, it ends a four-and-a-half-year battle and multiple charges and allegations. Dotro also pleaded guilty to one count of second-degree official misconduct as part of the trial in which he and his wife are accused of slashing the tires on a woman’s car and checking police records illegally for a suspect, according to authorities. The plea deal also dismisses charges in connection to an additional alleged arson plot in which the officer is accused of working with a fellow cop to burn down another supervisor’s house. Earlier this year, Dotro pleaded guilty to one count of conspiracy, admitting he sought to get payback against a North Brunswick officer who had ticketed his family member for drunk driving, authorities said.