Actor Mark Salling, best known for his role in Glee, has been arrested for the possession of child pornography, the Los Angeles Police Department confirmed to Mashable.

Police issued a search warrant Tuesday morning at Salling's Sunland, California residence and discovered the illegal images on his computer. Salling was booked on felony charges at 9:47 a.m. with a $20,000 bail.

The 33-year-old actor is best known for playing Puck on FOX's Glee for six seasons. He is currently filming Adi Shankar's Gods and Secrets.

In 2013, Salling's ex-girlfriend, Roxanne Gorzela, sued him for sexual battery after Salling allegedly forced her to have sex without a condom. Salling denied the charges and the case was settled.