Uganda's Yoweri Museveni was sworn in Wednesday for his sixth term as president, as police surrounded the home of his main opposition rival who decried the inauguration as a "sham".
Museveni, who won re-election in January despite widespread reports of irregularities, took the oath of office at a ceremony in Kampala broadcast on national television and attended by several African heads of state and other foreign dignitaries.
The 76-year-old, wearing a dark blue suit and his trademark wide-brimmed safari hat, promised to "pay true allegiance" to the East African country he has ruled nonstop since taking power as a rebel leader in 1986.
His victory in January was overshadowed by the bloodiest pre-election crackdown in years, with opposition candidates forcibly prevented from campaigning and dozens of protesters killed by security forces.
Opposition leader Bobi Wine, who came second to Museveni in the ballot but declared the vote rigged, said police and soldiers had "besieged" his home on the outskirts of Kampala and prevented him from leaving.
"Dictator Museveni is swearing in well aware he stole the elections and disenfranchised Ugandans and he is scared of people opposing the sham ceremony," the 39-year-old singer-turned-lawmaker told AFP.
"Even if he has sworn in, we will continue the struggle to dislodge him from power through peaceful means and this will come soon."