The Anwar Ibrahim sodomy trials are a source of considerable political controversy in Malaysia. The first trial was held in 1998, and resulted in former Deputy Prime Minister Anwar Ibrahim being convicted, and given a nine-year prison sentence. This verdict was overturned in 2004, resulting in Anwar's release from prison.
While being the leader of the Pakatan Rakyat opposition, Anwar was charged in 2008 with sodomising a male aide. He was tried in 2010 and 2011 and, in January 2012, was acquitted. In March 2014, the acquittal was overturned by the Court of Appeal, which convicted him and imposed a sentence of five years imprisonment. Anwar appealed to the Federal Court, which in February 2015 re-affirmed the conviction and sentence. Anwar is serving the sentence in Sungai Buloh Prison in Selangor.
In 1998, a book, 50 Dalil Kenapa Anwar Tidak Boleh Jadi PM ("50 Reasons Why Anwar Cannot Become Prime Minister") was circulated among members of the United Malays National Organisation (UMNO) General Assembly, containing graphic allegations as well as accusations of corruption against Anwar.
Anwar was fired from the Cabinet on 2 September 1998, amid police reports that he was under investigation. The following day, he was expelled from UMNO. Munawar Anees, Anwar's former speechwriter, and Sukma Darmawan Sasmita Atmadja, Anwar's adoptive brother, were arrested under suspicion of engaging in homosexual acts. Five days later, they were given a jail sentence of six months after pleading guilty to "unnatural sex" with Anwar. They later recanted their confessions, and appealed the sentence, claiming to have been coerced into pleading guilty. Anees made a statutory declaration to that effect. However, Munawar's appeal was rejected by the High Court on 29 October 2008 upholding his guilty sentence. Two of Anwar's secretaries, Ezam Mohamad and Mohamad Azmin Ali, were both held separately as part of police investigations into the "50 Reasons" book. Both were later released.