Ugandan rights activists and politicians have filed a legal challenge to overturn a tough anti-gay law condemned by Western donors.
The law violated the rights of gay people and subjected them to "cruel and inhuman punishment", they said.
Several cases of "violence and retaliation" have been reported since President Yoweri Museveni signed the law last month, the activists added.
Uganda is a deeply conservative society where many people oppose gay rights.
However, some people are beginning to question whether punishments proposed in the law are too harsh, reports BBC Uganda correspondent Catherine Byaruhanga.
It allows life imprisonment as the penalty for acts of "aggravated homosexuality" and also criminalises the "promotion of homosexuality".
'Tenants evicted'
The Civil Society Coalition on Human Rights and Constitutional Law, which represents about 50 groups, filed the petition in the Constitutional Court, asking for the law to be annulled.
Ruling party MP Fox Odoi, who is Mr Museveni's former legal adviser, was among the lead petitioners.
He broke ranks with his party by opposing the law in parliament, and said he did not fear a backlash from voters in the 2016 election, our reporter says.
"I don't fear losing an election. There is only one thing I fear - living in a society that has no room for minorities. I will not live in a society that doesn't respect and protect people who are different from the majority," Mr Odoi said.
Prominent Ugandan journalist Andrew Mwenda also supported the court action.
"This Act not only represents an effort by the executive and parliament to scapegoat an unpopular minority for political gain, but we believe it also violates the highest law of our country," he said.
Some people known or suspected to be gay had faced "violence and retaliation" since the law was signed, the coalition said in a statement, the AFP news agency reports.
It had documented 10 cases of arrests of people, and at least three cases of landlords evicting tenants, the coalition added.
Uganda's authorities have defended the law, saying President Museveni wanted "to demonstrate Uganda's independence in the face of Western pressure and provocation".
The World Bank has postponed a $90m (£54m) loan to Uganda to improve its health services after the law was approved.
Several European nations - including Denmark, Norway, the Netherlands and Sweden - have cut aid to Uganda to show their opposition to the law.
The sponsor of the law, MP David Bahati, insists that homosexuality is a "behaviour that can be learned and can be unlearned".
Latest Stories
-
Reason for training professional counsellors is to heal a hurting world – CCP president
19 mins -
Woman allegedly brings dead man to bank to take out a loan
26 mins -
It’s a good feeling to score against PSG because I’m a Marseille boy – Andre Ayew
52 mins -
Joe Lartey Sr: A voice that brought life to Ghana sports and beyond
1 hour -
Bawumia promises to tackle issue most dear to Ghanaians as he begins nationwide campaign
3 hours -
Indian couple donate $24m fortune to charity to adopt monkhood
3 hours -
Australians call for tougher laws on violence against women after killings
3 hours -
African Development Council establishes mission in Benin for Francophone countries
4 hours -
Okyeame Kwame reveals his secret to longevity in music industry
4 hours -
Youthful-looking 60-year-old woman qualifies for Miss Argentina contest
4 hours -
Ejisu By-Election: Campaign heats up as NPP holds final rally ahead of Polls on Tuesday
4 hours -
Rwanda plan: Irish government wants to send asylum seekers back to UK
4 hours -
Ice cubes now cost more than bread and milk in parts of Mali
6 hours -
Titanic gold pocket watch sells for £900,000
7 hours -
Elon Musk in China to discuss enabling full self driving – reports
7 hours