Uganda's president says opposition rival Kizza Besigye will not be tried by a military court that had charged him with terrorism and illegal arms possession.
In a statement, officials said President Yoweri Museveni gave his assurances to U.S. and European diplomats during a meeting Tuesday.
In January, Uganda's constitutional court ruled that the military did not have jurisdiction to try Besigye and 22 co-defendants. Military prosecutors had sought to overturn that ruling.
The 23 defendants also face treason charges in another trial, which is set to resume at Uganda's High Court next week.
Tuesday, the High Court dismissed separate charges of rape against Besigye.
He has accused the government of fabricating all the charges to ruin his bid to unseat President Museveni in last month's election.
The official tally showed Mr. Museveni defeating Besigye 59 to 37 percent. Besigye's Forum for Democratic Change party says the vote was rigged and asked a court to overturn the results.Some information for this report was provided by Reuters.