Homosexuality in Botswana has been decriminalized in what is being described as a landmark decision for campaigners.
According to the BBC, the laws that imposed up to seven years in prison for same-sex relationships were rejected by the High Court which stated that they were unconstitutional.
Angola, Mozambique and the Seychelles have all scrapped anti-homosexuality laws in recent years.
The law has been in place since 1965 when it was brought in by the colonial British government.
The case was brought to court by a student who argued society had changed and homosexuality was more widely accepted.
Activists welcomed the decision and described it as a significant step for gay rights on the African continent.