Glee actor Mark Salling was found dead of an apparent suicide, TMZ reports.

The TV star was awaiting sentencing on child porn charges, after pleading guilty to possessing more than 50,000 images of pre-pubescent minors. He was expected to get anywhere from four to seven years in jail as part of his plea deal, and he was due in court this March.

Salling's body was found hanging in a tree by a riverbed in Sunland, California. He slashed his wrists back in August, and had admitted to a judge that he had been taking antidepressants.

He was 35.