The Bronx prosecutor who was allegedly driving drunk and later lost her job in the DA’s office accepted a deal in the case this morning and pleaded guilty to DUI, saying she is “deeply sorry” for her actions.

Assistant District Attorney Jennifer Troiano, who was fired Jan. 13, pleaded guilty in Bronx Supreme Court and will get no jail time.

As a result, Troiano will have her driver’s license suspended for six months, will have an ignition lock installed in her car, take a course on the dangers of drunk driving and pay a $750 fine and another $400 in court fees.

“I accept responsibility for my actions,” she told the judge. “Rather than put my family, friends and colleagues through the ordeal of a trial. … It was my distinct honor to serve the people of Bronx County as an assistant district attorney. Finally, I am deeply sorry for what I have done and harm I’ve caused others.”

After the hearing, Troiano left the courthouse sporting a huge smile, but refused to answer questions.

Troiano, 34, had been charged with misdemeanor reckless driving and DUI in a three-car pileup on the Major Deegan Expressway in August 2010, although there was no allegation in the criminal complaint that she had caused the accident.

Troiano allegedly slurred her way out of two DWI arrests in 2004 and 2006.