Four Ugandan soldiers were handed prison sentences of up to three months by a military court on Thursday for taking part in the brutal beating of local journalists covering the country's opposition leader.
The seven injured journalists were covering an effort by opposition leader Bobi Wine to file a petition on Wednesday with the United Nations against human rights abuses, when they were set upon by security forces.
One of the journalists remained hospitalised with a deep head wound, according to the Uganda Editors' Guild.
The 38-year-old former popstar Wine has alleged January's election was rigged, and his petition to the UN detailed alleged abuses such as illegal detentions, torture, forced disappearances and continued harassment of opposition groups.
The journalists were injured as military police chased his supporters away from the United Nations' offices in Kampala.
An army statement said a disciplinary committee of the court martial had "convened and deliberated on its officers and militants who misbehaved and assaulted members of the fourth estate".
Four soldiers were given detention sentences of between 60-90 days, and a fifth was issued with a severe reprimand.
Also on Thursday defence forces chief David Muhoozi called a press conference to apologise to the media, promising to pay for the medical care of the injured journalists.
Journalists in Uganda often face rough treatment at the hands of security forces, which soared during an election marred by the worst bloodshed in years, as well as a sustained crackdown on government critics.
Shortly before the election, when asked why police were assaulting journalists, police chief Martin Ochola said it was for their own good, and refused to apologise.
"We are telling you there's a danger there, but you are insisting you must go where there is danger. Yes we shall beat you for your own sake, to help you understand not to go there. Yes, we shall use reasonable force to ensure that you don't go where there's a risk," he said.
The head of the UN in Uganda, Rosa Malango, condemned Wednesday's attack.
"We deplore the excessive use of force by military police which contravened the arrangements made... to ensure safe delivery of this petition".
US Ambassador to Uganda Natalie Brown said journalists should not be attacked for doing their job: "Those who violate press freedom must be held to account."
The incident was also widely condemned by media and civil society institutions.
"We note with concern that attacks against journalists which started during the campaigns for presidential elections continue to date and appear to have become an operational norm for Ugandan security personnel," the Federation for African Journalists said.



Ghana joins International Big Cat Alliance to strengthen wildlife conservation
FBI says nearly $10m in losses identified in Ghana scam-centre crackdown
PAC grills GHS over transport officer who allegedly sold seven state vehicles wi...
Pentecost Church elder was arrested over GH¢200,000 fraud case, not kidnapped – ...
Banning preaching in vehicles will not succeed, we will even preach at the back ...
Banks threaten to suspend new loans to public sector workers over Controller rep...
PAC summons Takoradi Hospital doctor over GH¢341,229 salary paid during study le...
FBI dismantles alleged scam operation in Ghana; 130 suspects arrest and over 300...
PABF appoints Dr Oscar Sam Ugoh as Executive Vice President for West Africa
Community watch committee arrest three illegal miners at Jema
