Kenya’s Supreme Court has ruled that William Ruto was properly elected president, dismissing several petitions seeking to annul the 9 August election result.
His rival, Raila Odinga, and others had alleged that massive fraud, including tampering with results forms, had taken place.
Mr. Ruto garnered 50.5% of the vote in the closely fought election.
The 55-year-old will be sworn in as the country’s fifth president next week.
Deputy President William Ruto won Kenya’s presidential election amid dramatic scenes.
The announcement was delayed amid scuffles and allegations of vote-rigging by Mr Odinga’s campaign.
Four of the seven members of the electoral commission refused to endorse the announcement, saying the results were “opaque”.
“We cannot take ownership of the result that is going to be announced because of the opaque nature of this last phase of the general election,” said Juliana Cherera, the vice-chairperson of the Independent Electoral and Boundaries Commission (IEBC).
“We are going to give a comprehensive statement… and again we urge Kenyans to keep calm. There is an open door that people can go to court and the rule of law will prevail,” she said.
Mr Odinga’s party agent earlier alleged that there were “irregularities” and “mismanagement” in the election.
This was the first time Mr Ruto, 55, had run for president. He has served as deputy president for 10 years but fell out with President Uhuru Kenyatta, who backed Mr Odinga to succeed him