Uganda's progress in tackling HIV is in "grave jeopardy" after the president approved tough new anti-homosexuality legislation, the UN and US have warned.
An increasing number of people are being discouraged from seeking vital health services for fear of attacks and punishment, they added.
President Yoweri Museveni signed the Anti-Homosexuality Bill into law after parliament watered it down.
It is still among the harshest anti-LGBTQ laws in the world.
Homosexual acts are already illegal in Uganda but now anyone convicted faces life imprisonment.
The legislation imposes the death penalty for so-called aggravated cases, which include having gay sex with someone below the age of 18 or where someone is infected with a life-long illness including HIV.
In a joint statement, three of the world's leading health campaign groups - the US President's Emergency Plan for Aids Relief (Pepfar), UNAids and the Global Fund - said they were deeply concerned about the "harmful impact" of the legislation.
"Uganda's progress on its HIV response is now in grave jeopardy," the statement said.
"The stigma and discrimination associated with the passage of the Act has already led to reduced access to prevention as well as treatment services," it added.
In a statement later on Monday, US President Joe Biden described the passing of the law as a "tragic violation of universal human rights", urging Uganda to repeal the legislation immediately.
Mr Biden also said Washington was considering "additional steps, including the application of sanctions and restriction of entry into the United States against anyone involved in serious human rights abuses or corruption".
The legislation has also been condemned by Ugandan campaign groups, which have instituted court action to annul the legislation on the grounds that it is discriminatory and it violates the rights of LGBTQ+ people.
A similar law was struck down by Uganda's constitutional court in 2014.
Ugandan rights activist Clare Byarugaba said it was a "very dark and sad day" for the LGBTQ+ community, and all Ugandans, Reuters news agency reported.
"The Ugandan president has today legalised state-sponsored homophobia and transphobia," the activist added.
Parliamentary speaker Anita Among welcomed Mr Museveni's decision to sign the bill into law, saying it would "protect the sanctity of the family".
"We have stood strong to defend the culture, values and aspirations of our people," she added in a statement posted to Twitter.
Ugandan lawmaker Asman Basal Irwa, the Anti-Homosexuality Bill's sponsor, told the BBC's Newshour programme: "It does not bother anybody if two adults are engaged in gay sex in private. And even then, the law does not look for those who are doing their things in private.
"But once you seek to do it in public and then you are recruiting others to do things your way, that's where the problem is."
The lawmaker also told reporters that the US had cancelled a visa issued to the speaker, making her the first official to face punitive action over the new law.
The US embassy in Uganda has not yet commented.
The bill was passed in parliament earlier this month, with only one MP opposing it.
The US is a major trading partner of Uganda. The East African nation benefits from the African Growth and Opportunity Act, which gives it easier access to lucrative US markets.
The US, UNAids and The Global Fund have also played a major role in backing Uganda's long-standing efforts to curb HIV/Aids.
By 2021, 89% of people living with HIV in Uganda knew their status, more than 92% of them were receiving antiretroviral therapy, and 95% of those on treatment were virally suppressed, they said in their statement.
"Together as one, we call for the Act to be reconsidered so that Uganda may continue on its path to ensure equitable access to health services and end Aids as a public health threat by 2030," the statement said.
Latest Stories
-
Fourteen dead as Vanuatu searches for earthquake survivors
4 minutes -
Petrosol’s Energising Dreams Promo: 14 more lucky customers win big in second draw
23 minutes -
Gisèle Pelicot: How an ordinary woman shook attitudes to rape in France
40 minutes -
Trump sues Iowa-based newspaper for ‘election interference’
5 hours -
General’s assassination pierces Moscow’s air of normality
5 hours -
Former TV host gets almost 10 years in prison for fraud
5 hours -
Atta Akyea pushes for data-driven approach to sports investment
5 hours -
There’s no agreement to halt recruitment processes, and payments – Information Minister to Mahama’s transition team
5 hours -
Invest in young talent – Azamati tells new government
5 hours -
FIFA The Best Awards: Otto Addo picks Rodri, no vote for Black Stars captain
6 hours -
Osagyefo Ampem Foundation signs a deal to provide bicycles for needy school children
6 hours -
Ghanaian American citizen receives US presidential award
6 hours -
We’ve failed to build democratic systems beyond human sentiments – Angel Carbonu
7 hours -
Rikair partners GIP to make medical grade oxygen accessible to Ghanaians
7 hours -
We’ll reverse last-minute recruitment, payments by outgoing administration – Mahama Transition Team
7 hours