From wikipedia
Of the bill, Ssempa has stated the following: "Some people have asked about the rationale of a death penalty mentioned in the Bill. There has been a lot of misinformation about this matter with headlines such as: “Gays face death penalty in Uganda”. These headlines are deliberately misleading. This penalty applies only in special cases termed 'aggravated homosexuality', which include, those convicted of unlawful homosexual rape of a child or handicapped invalid; This is a conviction of paedophilles! As highlighted in the problem of 'virgin rape cures HIV/AIDS' the offender can be a person living with HIV; a parent or guardian of the victim where there is abuse of authority! Finally is the use of drugs to stupefy the child so that they can rape them!. Clearly, the intent of this penalty is to protect weaker members of society from being victimized. Please note that for over 15 years Uganda has had the same penalty for persons who have carnal knowledge of minors heterosexually, mainly to protect against sexual abuse of girls by men. This time, this provision intends to provide equal protection of boys, among others." [13]