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
From Brad Pitt to Ian Somerhalder, see some of Hollywood's sexiest vampires.
See where the cast of "Cruel Intentions" is today.
Find out what Oscar winners Jared Leto and Lupita Nyong’o have been up to since the Academy Awards on Celebs Gone Social.
Check out Sandra Bullock's fabulous and colorful style.
From Channing Tatum to Jennifer Lawrence, see which celebs got their start modeling.
From the Atkins Diet to aerial fitness classes, see what stars like Kim Kardashian, Jessica Alba and Beyonce do to keep in shape.
Find out what the cast of "The Hills" are doing now.
© 2014 Microsoft