Former Glee star Mark Salling is reportedly dead of an apparent suicide, TMZ is reporting. The troubled actor’s body was at the Los Angeles River in Sunland — near his home.

His death comes as Mark awaited sentencing for his possession of over 50,000 images of child pornography, for which he pled guilty to this past December. He was expected to get between four to seven years in prison. He seemingly attempted suicide last August by cutting his wrists, but his lawyer denied the allegations.

In 2015, Mark was arrested after a search warrant discovered thousands of illegal images on his personal computer. He was indicted on two counts of child pornography, including one count that involved a flash drive allegedly containing an image of a child under the age of 12 andwas originally looking at up to 20 years behind bars, but according to the terms of his plea deal, that number was significantly decreased. Along with serving his time, Mark would have had to register as a sex offender and would be under supervised release for the two decades following his jail sentence.

mark salling getty images

Mark (right) on Glee. (Photo Credit: Getty Images)

At the time of his arrest, his former co-star and ex-girlfriend Naya Rivera revealed she was not surprised by the arrest. “My son’s nanny actually told me about it when the story broke,” she wrote in her memoir. “I can’t say I was totally shocked, but still — WTF? Then I had no doubt that God really did have my back along the way. When Mark dumped me, I thought it was the worst thing ever, but can you imagine if that didn’t happen? And I was laying there in bed when the battering ram came through the door?”

She continued, “I think everyone should have that one relationship where you look back and ask yourself, ‘What the hell was I thinking?’ You’ll learn something and you won’t regret it. Unless, of course, that relationship was with someone who had a sizable stash of child porn on his computer. Then, by all means, regret everything.”

Mark was 35 years old. This story is still developing.

If you or someone you know is contemplating suicide, call the National Suicide Prevention Lifeline at 1-800-273-8255.