Teen Mom star, Amber Portwood, has been sentenced to five years in prison after dropping out of a rehabilitation program and asking an Indiana judge to reimpose her sentence, TMZ reported. 

Portwood will serve the prison time she imposed earlier this year when she pleaded guilty to a felony drug charge. The 22-year-old initially avoided the sentence after agreeing to participate in a rehab program, which she recently dropped out of. 

The former reality-show subject opted out of the program after failing a urine test and then proceeding to lie about it, Prosecuting Attorney Rodney Cummings told CNN.

She failed to show up to a drug court appointment, saying she was recovering from laparoscopic gallbladder surgery and her doctor told her to stay in bed for two to three weeks. Her case manager asked the doctor about the claim who stated that she was well enough to attend her court appointment, TMZ reported. 

She just opted out, but I just don't think she knew opting out meant five years in prison, he said. 

According to Cummings, Portwood will spend about two years in prison before potentially being released on parole. A day is knocked off for every day an inanimate serves successfully in the jail. Participation in a drug rehabilitation program within the prison could reduce her sentence by a further 30 days. 

Portwood was first arrested in 2010 following an incident on MTV's show Teen Mom, where she was filmed acting violently towards her boyfriend. She was arrested later in the same year, while on probation, for being in the possession of different prescription drugs that had not been prescribed to her. 

Portwood spent a month in jail, before reaching a plea deal that enrolled her in the drug rehab program, which she recently dropped out of.

Her 3-year-old daughter reminas in the custody of her father.