In a landmark ruling for gay rights campaigners, laws banning same-sex acts between men have been ruled unconstitutional in Namibia.
Convictions for the colonial-era offences of “sodomy” and “unnatural sexual offences” were rare but fuelled discrimination against gay men who lived in fear of arrest.
No laws exist prohibiting sex between between women in Namibia.
Marrying someone of the same sex is still illegal in the southern African nation.
But if a same-sex couple weds abroad and one of them is not a Namibian citizen, their union is legally recognised.
After Friday’s judgement was read out at a high court in the capital, Windhoek, campaigners for the LGBTQ group Equal Namibia shared photos of people hugging in court.
“Welcome to a new Namibia. A born-free Namibia,” the group said on social media.
The term “born-free” was most famously used in neighbouring South Africa to describe the first generation of children growing up in the dawn of democracy after white-minority rule ended in 1994.
‘I no longer feel like a criminal’
This court case was brought by a Namibian activist called Friedel Dausab, with backing from the British charity Human Dignity Trust
“It won’t be a crime to love anymore,” Mr Dausab said, reacting to the verdict. “I no longer feel like a criminal on the run in my own country simply because of who I am.”
Several nations in Africa have repealed anti-LGBTQ laws in recent years, but South Africa is the only country where same-sex couples can marry and adopt.