Indonesian rock star Nazril Ariel reacts to the verdict during his trial at Bandung court in West Java on Jan. 31. An Indonesian court jailed one of Southeast Asia's biggest rock stars for more than three years after sex tapes of him with two television celebrities appeared online.

Bay Ismoyo / AFP - Getty Images

Members of a Muslim group clash with supporters of Indonesian rock star Nazril Ariel following his trial at Bandung court in West Java on Jan. 31.

29-year-old singer Nazril "Ariel" Irham - who said the videos were stolen and posted online without his knowledge - was the first celebrity to be found guilty of violating the country's strict anti-pornography law that went into effect in 2008.

Presiding Judge Singgih Budi Prakoso said the star made the videos with two celebrity girlfriends and did nothing to prevent their wide distribution.

He sentenced him to 3½ years in jail — well short of the maximum 12, angering hundreds of protesters who gathered outside — and fined him $25,000.