Ugandan President Yoweri Museveni on Monday signed a law that imposes a 14-year prison sentence for homosexual acts - and life sentences for those found guilty of "aggravated homosexuality." A measure imposing the death penalty was removed from an earlier version of the bill.
Homosexuality was already illegal in Uganda, as it is in 37 other African countries. Though the death penalty was removed from Uganda's law, it's a potential punishment elsewhere, including parts of Nigeria, Mauritania and Sudan.
(Last month, Nigerian President Goodluck Jonathan signed a measure similar to Uganda's into law; a few weeks later, a mob pulled 14 young men from their beds and assaulted them, screaming about cleansing their neighborhood of gay people.)
Here are the 10 countries where homosexuality may be punishable by death:
Yemen: According to 1994 penal code, married men can be sentenced to death by stoning for homosexual intercourse. Unmarried men face whipping or one year in prison. Women face up to seven years in prison.
Iran: In accordance with sharia law, homosexual intercourse between men can be punished by death, and men can be flogged for lesser acts such as kissing. Women may be flogged.
Iraq: The penal code does not expressly prohibit homosexual acts, but people have been killed by militias and sentenced to death by judges citing sharia law.
Mauritania: Muslim men engaging in homosexual sex can be stoned to death, according to a 1984 law. Women face prison.
Nigeria: Federal law classifies homosexual behavior as a felony punishable by imprisonment, but several states have adopted sharia law and imposed a death penalty for men. A law signed in early January makes it illegal for gay people countrywide to hold a meeting or form clubs.
Qatar: Sharia law in Qatar applies only to Muslims, who can be put to death for extramarital sex, regardless of sexual orientation.