Amber Portwood was close to seeing stripes behind bars before an Indiana judge gave the go-ahead, Monday, on a plea deal that allows Portwood to enter a rehab program rather than jail.
According to TMZ, Portwood agreed to enter a rehab facility to escape a five-year jail sentence stemming from a December 2011 arrest for drug possession, a class D felony, and probation violation. Portwood previously pleaded guilty to all charges.
But the plea deal does not afford Portwood an immediate get-out-of-jail-free card. She could spend up to two weeks in custody, during which time an evaluation by the Drug Court team will be conducted. Once accepted into the rehabilitation program, Portwood will be released from jail.
Portwood arrived in court wearing an orange-and-white striped jumpsuit, shackled at the hands and feet, to hear the judge's approval of her rehab plea deal.
Amber's not the only one who's had a run-in with the law. Check out these celebs who've smiled for the jailhouse camera.
HuffPost Entertainment is your one-stop shop for celebrity news, hilarious late-night bits, industry and awards coverage and more — sent right to your inbox six days a week. Learn more