JEFFERSONVILLE, Ind. (WDRB) -- A former jail-house nurse pleaded guilty to writing fraudulent prescriptions but avoids going to prison.

Instead, Denise Brooks was sentenced to three years of probation.

The hard part is now over for Brooks. She left Friday morning after signing the plea deal.

"She's relieved that she's not going to jail or prison," said Jeffersonville attorney Larry Wilder, who represents Brooks. "She's relieved that she's been able to stand up and take responsibility what she did."

Wilder said Brooks took ownership for her actions.

"She, here today, made it clear she accepts and understands and acknowledges that's just something that you don't do."

Brooks was the long-time nurse practitioner at the Clark County jail and was arrested last year for writing fraudulent prescriptions.

"She has a thyroid condition, so she wrote two prescriptions for synthroid, and she had it written in the name of an inmate," Wilder said.

It has been a tough case for Brooks and her co-workers, who arrested and escorted her to jail in handcuffs.

"It's always tough when we investigate one of our employees," said Det. Scottie Maples in February.

"I didn't feel like prison would have served any purpose, having the tax payers pay $30,000-$40,000 a year to have her in prison over this," said Clark County Prosecutor Jeremy Mull.

Mull said Brooks avoids prison but she's still being punished.

"I do think that in light of the embarrassment that it has caused her, the employment that she has lost and the conviction that she has sustained ... that justice was done here."

Meanwhile, the plea agreement allows Brooks to keep her license as a nurse practitioner.

"I would hope to think that there's somebody out there that understands that this is not a death penalty to your career by making a bad decision," Wilder said.

"I think that if poor decisions were career death penalties, I would have been executed a long time ago."

Right now, Brooks' license as a nurse practitioner is also on probation.

Copyright 2016 WDRB Media. All rights reserved.