A Brooklyn prosecutor has pleaded guilty to wiretapping a city detective and a fellow prosecutor in what's been described as a "love triangle gone wrong."

Assistant District Attorney Tara Lenich, 41, admitted in court yesterday to wiretapping phones belonging to fellow prosecutor Stephanie Rosenfeld and Detective Jarrett Lemieux, forging judges' signatures on fraudulent wiretap orders for 16 months, between August 20, 2015 and November 25, 2016. Lenich allegedly told her colleagues the wiretapping was a "secret outside investigation"; really, though, prosecutors say Lenich was having an affair with the married Lemieux and wiretapped him and Rosenfeld out of jealousy.

Lenich was arrested last November, and last Monday she was charged with two counts of illegal interception of communications. She initially pleaded not guilty, but has since changed her plea. "I knew my conduct was illegal," she said in federal court yesterday, after pleading guilty to the charges. "I'd just like to apologize and say I'm so sorry for my actions and for everyone that they affected."

She faces a maximum of 10 years in prison, though the Times reports she will likely get between eight and 14 months.