Many marchers wore masks, signaling they did not want to be publicly identified in a country where homosexuals and their supporters face severe discrimination.
Although organizers had expected more than 500 people to attend the event, fewer than 200 turned up, said gay activist Moses Kimbugwe, who noted that many were afraid of possible violence following a court's decision earlier this month to jettison an anti-gay law that had wide support among Ugandans.
"We are here to walk for those who can't walk, who are afraid to walk," said Kimbugwe. "We are here to celebrate our rights."
Uganda's Constitutional Court ruled last week that the anti-gay law enacted only five months ago was illegal because it was passed during a parliamentary session that lacked a quorum. Some lawmakers have pledged to try to reintroduce the same legislation when parliament emerges from a recess later this month. They said they would try to pass the same law in parliament since it had been invalidated on technical grounds and not its substance.
A transgender Ugandan poses in front of a rainbow flag during the 3rd Annual Lesbian, Gay, Bisexual and Transgender (LGBT) Pride celebrations in Entebbe, Uganda, Saturday, Aug. 9, 2014. (AP PHOTO/REBECCA VASSIE)
This was the third annual gay pride event, organizers said. The first one, in 2012, turned violent after local police tried to break it up, said Ugandan lesbian activist Jacqueline Kasha. This time they had been given assurances by the police that they could go ahead with the march, she said.
"We are a group of people who have suffered enough," she said. "We are Ugandans who have the right to gather in a public place ... and we are going to have fun."
Some among the marchers said they had initially planned to hold the event in Kampala but were warned by police that such a move would be provocative and possibly dangerous.
Homosexuals face threats including evictions by landlords and many have fled to neighboring countries such as Kenya, where the anti-gay sentiment is less pervasive, according to Ugandan rights activists. Many homosexuals are victims of extortionist campaigns by people who threaten to reveal their homosexuality to the police, said Kasha, the lesbian leader.