Glee alum Mark Salling has been arrested on charges of child pornography and subsequently released on $20,000 bail.

The actor, who played Puck on the top-rated musical show for six seasons, was arrested on Tuesday after the Internet Crimes Against Children LAPD task force obtained a warrant and searched his Sunland, California home. Officers found hundreds of images of minors engaged in sexual acts.

This isn't Salling's first brush with the law -- in 2013, then-girlfriend Roxanne Gorzela filed suit against Mark claiming he had forced her to have intercourse without a condom. Salling denied the charges and the case was settled.

Salling is scheduled to appear in court for these new charges on January 22.