Kampala, Uganda (CNN)It was meant to be a celebration. But after days of political protests, violence and arrests of key opposition leaders, the streets of Uganda's capital were empty and the majority of businesses closed as President Yoweri Museveni was sworn in for a fifth term -- extending his 30-year iron grip on power.
Uganda's Museveni extends 30-year grip on power
Heavy security met party loyalists and visiting heads of state, including Sudanese President Omar al-Bashir. Bashir, wanted on war crime charges by the International Criminal Court, received loud applause from those attending after Museveni introduced him.
"Forget about this ICC useless thing," Museveni said. "Earlier we thought the ICC was useful, but to us, now African leaders, we see it is useless. It's a bunch of useless people."
Museveni has been in control of the country since 1986. In 2005, he changed the constitution to allow himself to remain in office.
The lead-up to Thursday's event in Kampala was met with strong government restrictions, including the detention of the opposition candidate, a heavy police presence and a clampdown on social media such as Facebook.
A ban was also issued April 29 on all opposition activity around the inauguration by Deputy Chief Justice Steven Kavuma.
Longtime opposition leader Kizza Besigye, who has been under house arrest or government supervision since before February's presidential election, was arrested Wednesday after hosting his own swearing-in ceremony in Kampala.
Besigye encouraged others to "boycott the sham coronation."
In recent days, police presence has been heavy in the capital. Locals noted patrols about every 20 feet close to the event site, and a video showing police beating civilians also emerged, which was shared widely on Twitter.
Facebook was suspended, as occurred during the February election. Ugandans report that they were unable to access the site the day before the inaugural event and that it remained inaccessible midmorning Thursday.
Opposition candidates and electoral observers have questioned Uganda's February election, and rights groups have criticized what they call a violation of rights since Museveni's victory.
"The arbitrary detention of political opposition leaders and their supporters, the recent ban on live media coverage of opposition activities and the violent disruption of peaceful opposition gatherings in the lead-up to and since Election Day not only violate Uganda's own Constitution but also fly in the face of its regional and international human rights obligations," said Muthoni Wanyeki, Amnesty International's director for East Africa, the Horn and the Great Lakes.