One of Indonesia's best-known pop stars was sentenced Monday to 3½ years behind bars after sex tapes with his celebrity girlfriends found their way to the Internet, riveting and dividing this predominantly Muslim nation.

Liberals said the embarrassment suffered by Nazril "Ariel" Irham—who insists the videos were not intended for public viewing—was punishment enough. But hard-liners were outraged, saying the singer was contributing to the country's moral decline.

Hundreds charged the gates of the courthouse in the city of Bandung after the verdict was read out, yelling "Too light! Too light," as he sped off in an armored police car.