The son of actor Ryan O'Neal and the late Farrah Fawcett has been ordered to spend a year in intense rehab after pleading no contest Wednesday to heroin possession.
RELATED: 15 Celebrity Rehab Repeat Offenders
Los Angeles Superior Court Judge Keith Schwartz also sentenced 26-year-old Redmond O'Neal to serve five years on probation.
District Attorney's spokeswoman Jane Robison says O'Neal could be sent to prison for up to three years if he violates probation.
RELATED: Ryan O'Neal Reveals His Son Redmond is Still Mourning Mom Farrah Fawcett
Redmond O'Neal also pleaded no contest to being a felon in possession of a firearm when he was arrested Aug. 2 after a traffic stop. Ryan O'Neal attended his son's sentencing Wednesday.
Attorney Richard Pintal, who represented the younger O'Neal, says the sentence recognizes that his client is facing serious addiction and medical issues and that treatment was more appropriate.
REALTED: Redmond O'Neal completes drug diversion program
Get the engagement scoop on Replay hosted by Wonderwall's Kirby Kristen.
Get the scoop on the Duke and Duchess of Cambridge's 2014 Royal Tour on Replay hosted by Wonderwall's Kirby Kristen.
Sofia Vergara poses in a revealing neon bikini while her "Modern Family" castmates hit the beach in Australia on Celebs Gone Social.
Get the scoop inside Porsha Williams and Kenya Moore's fight and much more on Replay hosted by Wonderwall's Kirby Kristen.
The actress and New York Times best-selling author talks to WW's Chris Gardner about her new book, "The Kind Mama," having more kids, and a "Clueless" sequel...
Victoria Beckham, Rosie Huntington-Whiteley and Melissa Joan Hart toast their birthdays on today's Celebs Gone Social hosted by Wonderwall editor Chris Gardner.
Justin Bieber makes a surprise appearance at Coachella where Selena Gomez happens to be hanging out with the Jenner sisters on Celebs Gone Social.
© 2014 Microsoft