Former Glee star Mark Salling has been indicted on child pornography charges, the U.S. Attorney's Office announced Friday.

Salling, 33, was indicted on two counts, and charged with receiving and possessing child pornography on his laptop and a flash memory drive.

"Those who download and possess child pornography create a market that causes more children to be harmed," United States Attorney Eileen M. Decker said in a statement. "Young victims are harmed every time an image is generated, every time it is distributed, and every time it is viewed."

Glee star arrested for possession of child pornography

Salling, who played Puck on Glee, was arrested for possession of child pornography in December after the Los Angeles Police Department Internet Crimes Against Children Task Force obtained a warrant to search his Sunland, Calif., home. At the time, TMZ reported that thousands of images of children "significantly younger than 15 or 16 years old" were found on his computer.

The indictment states that the images and video found in Salling's home depict young girls.

Mark SallingMark Salling

If convicted of receiving child porn, Salling faces a minimum of five years in prison and a maximum of 20 years. He also faces a maximum of 20 years in prison if he's convicted of possessing child porn.

Salling will surrender to authorities and be arraigned on June 3.

This isn't the actor's first run-in with law enforcement. In January 2013, ex-girlfriend Roxanne Gorzela sued him for sexual battery and assault, eventually dropping the claim, after which Salling paid a sum of about $2.7 million.