An Indonesian woman who exposed her cheating boss has been slapped with a six-month jail term for her trouble.
The supreme court's shock ruling overturned an earlier court decision that had cleared the woman, Baiq Nuril Maknun, of breaking a controversial law against spreading indecent material.
"I'm saddened and shocked by this sentence," Maknun's husband Lalu Muhamad Isnaini said Friday in reaction to the ruling, which was issued last week.
The odd case stretches back to 2012 when Maknun recorded a conversation in which the principal of the school where she worked on the island of Lombok revealed graphic sexual details about an affair he was having with another colleague.
Co-workers of the school administrator -- who herself had rebuffed the principal's repeated advances -- later convinced Maknun to release the recording in a bid to expose the man's history of lecherous behaviour, according to her lawyer Joko Jumadi.
"The principal shared very graphic details about his affair with the school's treasurer in the recording," he told AFP.
In response, the principal fired Maknun and filed a complaint with authorities.
Maknun was initially cleared of the charges by a local court in Lombok, next to holiday hotspot Bali.
But, last Friday, Indonesia's top court reversed that decision, finding her guilty of violating the electronic information law and sentencing her to six months' jail along with a 500 million rupiah ($34,000) fine.
The 36-year-old Maknun told local reporters that the ruling was unfair.
"I'm just a victim -- what did I do wrong?" she said at the time.
The court did not give reasons for its verdict.
The prosecutor's office in Lombok told AFP on Friday it is reviewing the case before Maknun begins her sentence.
Indonesia's corruption-riddled justice system has long been criticised for the quality of its rulings, while the electronic information law itself has come under fire for being too vague and open to misuse.
74-Year-Old Woman Killed By 13 Foot Python In Indonesia Ranvir Shorey Reacts To Sana Makbul's "Male Chauvinist" Comment: "She Didn't Have The Grace To Apologize" Two New Games Based on Horror Classic Halloween Currently Under Development: Report Parents Gave Names Of Interns, Doctors To CBI In Kolkata Horror: Sources How Extreme Weather Is Leading To Rise In Child Marriages In Pakistan Who Is Jasveen Sangha, "Ketamine Queen" Charged With Matthew Perry's Death "Strong Indications" Bangladesh Security Forces Used "Unnecessary" Force: UN Delhi Experienced 15 Consecutive Days Of Rainfall, Says Weather Department Pilot Dies After Plane Crashes During Aerobatic Show In France Track Latest News Live on NDTV.com and get news updates from India and around the world.