The actor, who played Noah ‘Puck’ Puckerman on the hit Fox show, struck a plea deal in the case in October – Under the deal, prosecutors agreed that the appropriate sentence for Salling would be four to seven years in prison, with 20 years of supervised release.
Salling was arrested in 2015 after cops were tipped off about the images on his computer by one of his ex-girlfriends. Subsequently, he was arrested in December 2015 and later released on bail of $20,000.
The case was then passed on to federal authorities when police realized the severity of the images.

Mark Salling 6.jpg
Arrested in 2015, Mark Salling is seen arriving for a court appearance Los Angeles at the US Central District of California courthouse, June 2016
Mark Salling 4.jpg
As part of Salling’s release, he was registered as a sex offender and was scheduled to serve 4 to 7 years after pleading guilty to child porn offenses

As part of Salling’s release deal, he was registered as a sex offender and not allowed to live within view of any school yards, parks, public swimming pools, playgrounds, video arcades, or any other places that are regularly visited by people under the age of 18.
At the time, Lt. Andrea Grossman of the LAPD, noted: “It doesn’t matter who you are or what you do, if you hurt a child you will be held accountable.”
She added: “These images are more than photographs, they are child abuse.”

Mark Salling in the role of Puck in Glee 5.jpgMark Salling [right], starred as football player Puck in the High School drama

TMZ reports that the late actor in August 2017 allegedly, had tried to take his own life before accepting a plea bargain on the child porn case. Sources said the shamed Glee star cut his wrists in an attempted suicide in the bedroom of his LA home on August 22.
Salling apparently “freaked out” after doing it, before screaming for his roommate who found him bleeding and called for emergency services.