The mayor of the Ugandan capital, Kampala, says he has been beaten by police, who fired rubber bullets to disperse a crowd of his supporters.
Mayor Erias Lukwago said he collapsed after tear gas was thrown into his car.
Police deny mistreating Mr Lukwago, a critic of President Yoweri Museveni. The opposition says the government is trying to stifle dissent.
In a separate incident, opposition leader Kizza Besigye was arrested for holding an unsanctioned rally.
Mr Lukwago was due to appear before a tribunal on Thursday for the first day of a hearing that could possibly impeach him for abuse of office.
The BBC's Catherine Byaruhanga in Kampala says police surrounded his home and then escorted him towards the building where the tribunal was being held.
But on the way a tear gas canister was thrown into his vehicle.
Speaking from his hospital bed, Mr Lukwago told the BBC: "All I could inhale was just the smoke - it went deep into my lungs. I have a problem of high blood pressure. I collapsed there. So they picked me [up], dumped me into the waiting van and drove away at a terrific speed."
He said that police officers hit him in the chest and tore his clothes.
"Those people were accusing me of all sorts of things - incitement to violence. They hit me in the chest, tore my shirt and treated me in a very rough manner. I tried to plead with them but to no avail," he said.
Kizza Besigye has been accused by police of inciting a crowd in Kampala to rally in support of Mr Lukwago, a charge his office denies.
"We were surprised to see Besigye appear there," deputy police spokesman Patrick Onyango said.
"Then he started addressing and inciting people as usual, yet he had no police permission to do that."
Mr Besigye's aide, Francis Mwigukye, who was with him when he was detained, dismissed the accusations.
He said Mr Besigye had been on regular business in Kampala when an impromptu crowd gathered around his car and grew angry when police stepped in.