There were spontaneous celebrations among Ugandans in Kampala and surrounding areas following the declaration of president Yoweri Museveni after he retained his seat.
Mr. Museveni defeated musician turned politician Robert Kyagulanyi aka Bobi Wine.
Uganda's Yoweri Museveni has won a sixth term in office with 58.6 percent of votes, seeing off competition from Bobi Wine who was second among the ten other candidates.
"The electoral commission declares Yoweri Museveni... elected President of the Republic of Uganda," said election commission chairman Justice Simon Mugenyi Byabakama.
He said turnout was 57.22 of almost 18 million registered voters.
Byabakama urged the population to "remain calm and accept the outcome of these elections" while reminding those celebrating to be mindful of the Covid-19 pandemic.
Jubilant Museveni supporters wearing NRM shirts with Museveni's portraits waved flags and cheered as they moved in processions across the city.