“Glee” star Mark Salling was arrested Tuesday in California on suspicion of possessing child pornography.

According to The Hollywood Reporter, Salling was taken into custody after the Los Angeles Police Department’s Internet Crimes Against Children Task Force served a warrant at his home in the Sunland neighborhood north of Los Angeles.

Reuters reported that LAPD spokesperson Officer Liliana Preciado confirmed the arrest. Salling’s bail was set at $20,000. His next court date is on Jan. 22, 2016, according to L.A. County Sheriff’s Department records.

The 33-year-old actor played the high school football player Noah “Puck” Puckerman for six seasons of “Glee.” The mohawked jock was known for tossing students into a dumpster. Puck was best friends with Cory Monteith’s character Finn Hudson. Puck has a baby with Finn’s girlfriend and got eventually enlisted in the Air Force. 

Salling got nominated for Teen Choice awards in 2010 and 2011 for his role in “Glee.”

This is not Salling’s first run-in with law. In January 2013, ex-girlfriend Roxanne Gorzela sued him for sexual battery, assault, intentional infliction of emotional distress and negligence. Gorzela accused the actor of forcing her to have unprotected sex with him in March 2011. 

This March, Gorzela dropped her sexual battery claim, and Salling agreed to pay her about $2.7 million, People magazine wrote citing legal papers it obtained.

The actor/musician released a solo rock album in 2010. He has been focusing on his music career since “Glee” concluded in March 2015 and also been working on a project with his band “Camp Coyote.” Mark is also doing a movie, titled “Adi Shankar’s Gods and Secrets” alongside Denise Richards and Kellan Lutz. The movie is set to release next year.

 He previously told THR that he was also putting together his own TV series.

“It’s a musical with original music so we had to record a whole 13-song record for that and write the episodes around the songs,” he said.