Uganda has a long and, until relatively recently, quite permissive LGBT history. During precolonial times, the “mudoko dako,” or effeminate males among the Langi of northern Uganda were treated as women and could marry men. In Buganda, one of the largest traditional kingdoms in Uganda, it was an open secret that Kabaka (king) Mwanga II, who ruled in the latter half of the 19th century, was gay.Homosexuality in Uganda was criminalized in 1902. In February 2014, president Yoweri Museveni signed a new law, the Uganda Anti-Homosexuality Act, 2014, which provided for tougher penalties for gay people including criminalizing people who did not report them. The new law also covered lesbians for the first time. However, on 1 August 2014, the Constitutional Court of Uganda ruled the new law invalid.