Uganda's main opposition presidential candidate Bobi Wine says his life is being threatened following Thursday's election which saw Yoweri Museveni win a sixth term.
The singer-turned-politician told the BBC that he rejected the results "with the contempt they deserve".
He alleged there had been a lot of irregularities but Mr Museveni called it as Uganda's fairest ever vote.
Campaigning had been marred by violence in which dozens of people died.
Just ahead of voting day the government shut down the internet, a move condemned by election monitors.
They said confidence in the count had been damaged by the days-long cut. A government minister told the BBC on Saturday evening that the internet service would be restored "very soon".
In a phone interview with the BBC World Service, Bobi Wine, the stage name for 38-year-old Robert Kyagulanyi, said he was "worried about my life and the life of my wife".
He said he was not being allowed to leave his house which was surrounded by security forces.
"Nobody is allowed to leave or come into our house. Also, all journalists - local and international - have been blocked from accessing me here at home," he said.
The result gives President Museveni, 76 and in power since 1986, five more years as president.
What's the latest on the election results?
"The electoral commission declares Yoweri Museveni... elected President of the Republic of Uganda," election commission chairman Justice Simon Mugenyi Byabakama said on Saturday.
He said turnout was 57% of the almost 18 million registered voters.
Earlier, Mr Byabakama said the vote had been peaceful, and called on Bobi Wine to make public the evidence for his fraud allegations.
The opposition candidate earlier said: "I will be happy to share the videos of all the fraud and irregularities as soon as the internet is restored."
But speaking after being declared the winner, Mr Museveni said: "Voting by machines made sure there is no cheating.
"But we are going to audit and see how many people voted by fingerprints and how many of those voted by just using the register."
Mr Museveni also warned that "foreign meddling will not be tolerated".
The EU, United Nations and several rights groups have raised concerns. Aside from an African Union mission, no major international group monitored the vote.
Earlier this week the US - a major aid donor to Uganda - cancelled its diplomatic observer mission to the country, saying that the majority of its staff had been denied permission to monitor polling sites.
The US state department said the vote occurred in "an environment of intimidation of fear".
Latest Stories
-
Netflix debuts Grain Media’s explosive film
24 mins -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
59 mins -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
1 hour -
IPR Ghana@50: Pupils educated to keep the environment clean
1 hour -
PenTrust CEO named ‘Best Pensions CEO’, company wins ‘Scheme Administrator Award’ at Ghana Accountancy & Finance Awards 2024
2 hours -
Alan Kyerematen’s ‘Brighter Future for Health Professionals’ in Ghana Revealed in Bono
2 hours -
#TheManifestoDebate: NPP will ensure a safer, cleaner and greener environment – Dr Kokofu
2 hours -
2024 Election: Police to deal with individuals who will cause trouble – IGP
2 hours -
Seychelles President’s visit rekindles historical and diplomatic ties with Ghana
2 hours -
Election 2024: EC destroys defective ballot papers for Ahafo and Volta regions
2 hours -
2024 Election: I am sad EC disqualified me, but I endorse CPP’s candidate – PNP’s Nabla
3 hours -
I want to build a modern, inclusive country anchored by systems and data – Bawumia to CSOs
3 hours -
Miss Health Ghana 2024: Kujori Esther Cachana crowned new Health Ambassador
3 hours -
Playback: The manifesto debate on WASH and climate change
3 hours -
Alan Kyerematen saddened by NDC and NPP’s neglect of Krofrom Market in the Ashanti Region
3 hours