Uganda has passed an anti-homosexuality bill that could see anyone found guilty jailed for life.
Draft legislation drawn up in 2010 had called for the death penalty for anyone who engaged in a homosexual act for a second time, as well as for gay sex where one partner is a minor or has HIV.
The proposal was condemned as “odious” by US President Barack Obama and was dropped from the final version of the bill.
The law must be approved by Ugandan president Yoweri Mugisha before it can take effect.
Homosexuality had already been illegal in Uganda but David Bahati, the politician behind the bill, said tougher laws were needed because gay people from Western countries threatened to destroy Ugandan families.
“This is victory for Uganda. I am glad the parliament has voted against evil,” he said.
“Because we are a God-fearing nation, we value life in a holistic way.
“It is because of those values that members of parliament passed this bill regardless of what the outside world thinks.”
The new bill, which also criminalises the public promotion of homosexuality, was criticised by Frank Mugisha, the Ugandan gay activist.
“I am officially illegal,” he said after the vote.