An Indonesian court on Monday 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.
The sentence drew howls of outrage from singer Nazril Ariel's fans in the court and across the Malay-speaking world, while the "freeariel" hashtag shot to the top list of trending topics on microblogging site Twitter.
The 29-year-old frontman of rock band Peterpan was sentenced to three and a half years in jail for "giving an opportunity for others to spread, produce and prepare a pornographic video", the judges said in their verdict.
Islamist hardliners pelted the police van with rotten eggs and tomatoes as he was escorted to the court, while fans of the husky-voiced heart-throb sang his song "Sahabat" (Friend) and chanted "Free Ariel".
Stick-wielding Islamists later beat people on the street outside the court as tempers flared and police struggled to control the two sides.
Wearing a dark green sweater over a white pinstriped shirt, Ariel looked calm as the sentence was handed down.
He told reporters who mobbed him as he was being led back into custody that he would consider an appeal. "I'll think about it," he said.
His fans in court, mostly young women, let out a collective cry of despair as chief Judge Singgih Budi Prakoso condemned him to jail.
"I'll miss him terribly because now I won't be able to see him on television. This is too severe because he didn't spread the videos. He should be set free," said sobbing 20-year-old student Yossi.
Muslim protesters also complained that the sentence was too light for a man they see as a threat to the moral fabric of the nation of 240 million people, 80 percent of whom are Muslims.
"Muslims are very disappointed with the sentence. According to sharia law adulterers should be stoned to death," said Abdul Qohar Al-Qadsi, an Islamist from hardline vigilante group the Islamic Defenders Front.
The two videos, apparently filmed on a mobile phone, showed Ariel having sex on separate occasions with female television celebrities Luna Maya and Cut Tari, who is married to another man.
Maya was seen chatting to Ariel in his holding cell before the sentence was handed down.
The clips spread virally through Indonesian and Malaysian websites but Ariel has always denied distributing them, saying a studio engineer accessed his personal files from his laptop and uploaded them without his permission.
He surrendered to police on June 22 last year amid a national scandal over the X-rated videos. At one point police raided high school class rooms to search students' smartphones for signs of the illicit clips.
Dubbed "Peterporn" after Ariel's pop band, the scandal pushed President Susilo Bambang Yudhoyono to warn that the archipelago was at risk of being "crushed by the information technology frenzy".
It strengthened calls for stricter monitoring and censorship of web usage, which has taken off among Indonesia's upwardly mobile urban youth.
Research In Motion, the Canadian company that makes BlackBerry smartphones, started blocking access to pornographic websitesin Indonesia earlier in January in line with a communications ministry deadline.