Former 'Glee' actor Mark Salling's death is ruled a suicide, coroner says

Salling pleaded guilty to possession of child pornography last year.

— -- Former "Glee" star Mark Salling has died just months after pleading guilty to possession of child pornography, ABC News has confirmed.

An attorney for the actor told ABC News that Salling died on Tuesday morning.

The Los Angeles County coroner's office has ruled the actor's death a suicide by hanging, though an autopsy is pending.

The Los Angeles Police Department received a missing persons report for Salling around 3 a.m. and found his body shortly thereafter, a commanding officer told ABC News.

"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," his lawyer said. "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."

Salling, 35, was indicted in May 2016 on two counts of receiving and possessing child pornography, nearly five months after he was arrested by the Los Angeles Police Department. At the time of his arrest, a computer, hard drive and thumb drive containing approximately 25,000 still images of child pornography, approximately 600 videos of child pornography and approximately 29,000 images of child erotica were seized from his home, according to the plea agreement.

As part of the plea agreement, which was filed in the U.S. District Court for the Central District of California last October, the court reserved the right to impose a sentence that would include 20 years of supervised release, restitution of at least $50,000 to each victim who requests it, and other fines and fees. Salling would have also been required to register as a sex offender. He was due to be sentenced in March.

Salling is best known for playing Noah "Puck" Puckerman on "Glee" from 2009-2015.