Leif Garrett Leif Garrett

The Outsiders' Leif Garrett pleaded no contest to heroin charges Friday, according to The Associated Press.

The 48-year-old former teen idol was arrested in February and charged with possession of heroin. Garrett will enter a drug rehab program, with charges being dismissed should he complete the treatment guidelines within 18 months.

Leif Garrett pleads not guilty to felony drug charge

Garrett, who will appear on Celebrity Rehab, has been plagued with drug arrests throughout his career. In 1979, the actor was arrested after crashing his car while under the influence, leaving the passenger paralyzed.

Garrett's other notable roles included playing Zach Russell on ABC's Family and Leonard Unger on The Odd Couple.