Glee’s Mark Salling has pleaded guilty to possession of child pornography involving a prepubescent minor.
The 35 year old will reportedly be sentenced to four to seven years in prison, according to The Blast.
He was originally facing a maximum of 20 years behind bars.
According to the publication, the 35-year-old has to register as a sex offender and have no communication with anyone under the age of 18 unless they are int he presence of a parent or legal guardian.
He was also ordered to pay $50,000 in restitution to each victim who has asked for it.
He will also be on supervised release for 20 years afterwards, and must stay 100 feet away from schoolyards, parks, public swimming pools, youth centers, playgrounds and arcades.
Any computers or digital devices that the actor uses will also be subjected to “search and seizure” at any time, according to Deadline.
The former Glee star was arrested in December 2015 after investigators alleged a USB flash drive, laptop and hard drive seized from his residence contained thousands of images and videos depicting child pornography.
The TV star, who rose to fame as the musical series’ football player Noah “Puck” Puckerman, had initially pleaded not guilty in 2016 to two counts receiving and possessing child pornography.