Former “Glee” star Mark Salling has been arrested for possession of child pornography, Variety has confirmed.

Salling, known for playing Noah “Puck” Puckerman on “Glee,” was arrested early Tuesday after his Sunland, Calif., home was searched per a warrant from the Los Angeles Police Department Internet Crimes Against Children Task Force.

He was taken downtown for booking. Salling is being held on $20,000 bail, according to jail records.

This is not Salling’s first run-in with the law. Earlier this year, his girlfriend Roxanne Gorzela sued the 33 year-old actor for sexual battery after she claimed he shoved her and later forced her to have sex without a condom. Salling filed a countersuit for defamation of character.

Reps for Salling did not immediately respond to requests for comment, though the “Glee” alum is no longer represented by ICM or his managers at Full Circle Management, as the company severed ties with Salling in September.

A series regular on “Glee” since 2009, Salling had appeared in nearly 100 episodes of the popular Fox series.

According to the actor’s IMDB page, he was currently filming the low-budget pic “Adi Sankar’s Gods and Monsters” opposite Denise Richards.

Salling, born in Dallas, Texas, had also appeared in horror films “Children of the Corn IV: The Gathering” alongside Naomi Watts and “The Graveyard.”

Salling posted $20,000 bail later Tuesday afternoon and was released, according to CBS Los Angeles.