Botswana joined a number of other African countries in legalizing gay sex on Tuesday.

The ruling in the landmark case was met with approval by human rights group Amnesty International, claiming it was "a victory in the battle for equality and freedom to love whoever you choose."

Read more: Botswana government loses battle to ban gay group

Muleya Mwananyanda, deputy director of the group for southern Africa, also hoped the judgment would have a continental knock-on effect. "This court decision marks an exciting new era of acceptance, which should inspire other African countries to follow suit," she said.

The colonial law was overturned by Justice Michael Leburu as he said: "Discrimination has no place in this world. All human beings are born equal. Homosexuality is another form of sexuality that has been suppressed for years."

Activists celebrate the judgement inside the courtroom

The decision was well received in the courtroom as activists cheered in jubilation. Non-Governmental Organization LEGABIBO was represented by legal policy director Caine Youngman who said: "I'm a gay man. I've been out for many years. Now I can live with my partner without worry."

The news comes in the wake of Kenya's decision last month to maintain strict laws against same-sex relations.

jsi/msh (AP, dpa, Reuters)

Each evening at 1830 UTC, DW's editors send out a selection of the day's hard news and quality feature journalism. You can sign up to receive it directly here.