Mark Salling who portrayed the character of Noah "Puck" Puckerman on Glee, was found dead on Tuesday near the house where he lived in Los Angeles and died in an apparent suicide, just weeks before he was to be sentenced on 7 March to prison for possession of child pornography.
Mark Salling previously attempted suicide in his home in August 2017 by cutting both of his wrists.
"I can confirm that Mark Salling passed away early this morning," said his lawyer Michael Proctor in a statement.
"Mark was a gentle and loving person, a person of great creativity, who was doing his best to atone for some serious mistakes and errors of judgment."
"He is survived by his mother and father, and his brother. The Salling family appreciates the support they have been receiving and asks for their privacy to be respected."
Mark Salling was arrested in December 2015 at his home on a charge of possession of child pornography.
In May 2016 Mark Salling was charged with receiving and possessing child pornography on his laptop computer and a flash memory drive. He was to be sentenced in March to a prison sentence of between 4 to 7 years, and would have been forced to register as a sex offender.
Mark Salling is the second Glee start to die unexpectedly. In July 2013 Cory Monteith was found dead in a Vancouver hotel room in Canada after a drug overdose of alcohol and heroin. He was 31 at the time.