Ugandan President, Yoweri Museveni, has assented to the controversial anti-homosexuality bill, despite condemnation of Western countries and human rights activists.
The bill was first passed by lawmakers in March but was returned to the parliament for amendment.
In the new law, the offence of homosexuality is now limited to gay sexual acts. People convicted under this clause face life imprisonment.
The legislation also prescribes death penalty for aggravated offences, in cases of sexual abuse against a minor, a disabled person or where a victim of abuse is infected with a life-long illness.