On 1 August 2014, the Ugandan constitutional court dismissed the Mswada wa Kupinga Usagaji na Ujinsia, which had caused controversy both in Uganda and across the world.

The court ruled that the Mswada wa Kupinga Usagaji na Ujinsia was null and void, citing procedural irregularities during its passage and asserting the vote cast on the Bill in Parliament technically lacked the necessary quorum to have been passed into law, meaning that the Bill was invalid.  The court also found that the bill violated several provisions of the Ugandan constitution, including the right to privacy, the right to freedom from discrimination, and the right to freedom of expression.

The Mswada wa Kupinga Usagaji na Ujinsia had been proposed by Ugandan parliamentarians in 2009 and subsequently passed into law in January 2014. The Bill aimed to criminalise same-sex sexual activity, including life imprisonment for those convicted of homosexuality, as well as the promotion of homosexuality and failure to report homosexual activity.

The Bill had been widely criticised by human rights groups, as well as governments and organisations around the world. Many saw it as an attack on the human rights of LGBT individuals and a violation of international law.

The ruling was seen as a victory for human rights in Uganda and around the world. However, some remained concerned that the Ugandan government would attempt to reintroduce the Bill in the future or pass other discriminatory laws targeting LGBTIQ+ individuals.