‘Glee’ actor Mark Salling admits to possessing child porn

This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Actor Mark Salling attends the Republic Records And Big Machine Label Group's Grammy Celebration at Warwick on February 8, 2015 in Los Angeles, California. (Photo by Earl Gibson III/Getty Images)

LOS ANGELES — Former “Glee” actor Mark Salling has reached a deal with prosecutors to plead guilty to possession of child pornography.

The plea agreement filed Tuesday in federal court in Los Angeles states the actor is admitting he possessed images of prepubescent children. The agreement states a search warrant found more than 50,000 images of child porn on Salling’s computer and a thumb drive.

Prosecutors and Salling have agreed to ask a judge to sentence the actor to a prison term between four to seven years. He will also be required to register as a sex offender, pay restitution and abide by restrictions on where he can live.

Salling’s attorney Michael Proctor did not immediately return a message seeking comment.

The actor played bad-boy Noah “Puck” Puckerman on the Fox musical dramedy.