Many African countries, with the notable exception of South Africa, have laws that ban or repress homosexuality. The subject took on added sensitivity after UN Secretary General Ban Ki-moon recently told leaders at an African Union summit they must respect gay rights.
Among countries which have adopted repressive laws against homosexuals:
UGANDA provides for lengthy prison sentences and even the death penalty in some cases.
NIGERIA already outlaws homosexuality but is in the process of adopting an anti-gay law that spells out harsh sentences for gays in Africa's most populous country.
Unanimously approved by the Senate, the bill calls for up to 14 years in jail for gays entering into "marriage" or cohabitation. It bans public displays of affection between homosexual couples and makes gay organisations illegal, which has raised some concern that funding channelled through non-governmental organisations for AIDS treatment could be put in jeopardy. The bill now goes to the lower house and requires a presidential signature to become effective.
SENEGAL slapped eight-year jail terms on nine men in 2009 for "unnatural acts and conspiracy". In January, Amnesty International said hostility was growing against Senegalese gays with "harassment, arbitrary arrest, torture and unfair trials".
In GAMBIA, homosexuality is punishable by up to 14 years imprisonment, for men and women. In 2008, President Yahya Jammeh vowed to push through even stricter laws, saying gays should leave the country and vowing to "cut off the head" of any homosexual caught in Gambia. He later withdrew the statement, but said he would hunt down homosexuals and expel them from their homes.
Homosexuality is illegal in other countries, notably CAMEROON, KENYA, TANZANIA and LIBERIA. In LIBERIA, the issue has been in the headlines this year after a group of activists began lobbying for the legalisation of same-sex marriage. This created a furore in the country whose President Ellen Johnson Sirleaf is a Nobel Peace Prize winner.
The information ministry released a statement last month saying: "The Liberian government will not allow the legalisation of gay and lesbian activities in Liberia. The president has vowed not to allow such a bill, and even if the bill goes before the president she will veto it."
Homosexual acts are also illegal in the countries of north Africa, though with differences among each state.
In TUNISIA, sodomy between consenting adults is punishable with up to three years in prison. However the online "Gayday magazine" was launched last year amid the Arab Spring revolution.
In MOROCCO, homosexuality is punishable by six months to three years in prison, but is tolerated provided practitioners do not flaunt their different sexual orientation.
And in ALGERIA, anyone charged with a homosexual act is liable to up to two years in prison, but people are rarely prosecuted for such offences.
In several countries homosexuality is a taboo subject, but with certain zones of tolerance:
In ZIMBABWE President Robert Mugabe is known for saying that gays and lesbians are "worse than pigs and dogs". However, the group Gays and Lesbians is authorised. Prime Minister Morgan Tsvangirai has said that he wants gay rights enshrined in a new constitution.