Kenya's Supreme Court has annulled the result of last month's presidential election, citing irregularities, and ordered a new one within 60 days.
The ruling makes Kenya the first African country to have a presidential poll invalidated by a court.
The election commission had declared incumbent Uhuru Kenyatta the winner by a margin of 1.4 million votes.
But the opposition argued that the commission's IT system had been hacked to manipulate the results.
After the ruling was announced, opposition presidential candidate Raila Odinga said: "This is a historic day for the people of Kenya and by extension for the people of the continent of Africa."
Mr Odinga added that he had "no faith at all in the electoral commission as currently constituted" and called for the prosecution of its members.
A lawyer for President Kenyatta said the decision had been "very political" but had to be respected.
Reading the decision - reached by a majority of four to two among the judges - Chief Justice David Maraga said the August 8 poll had not been "conducted in accordance with the constitution".
Opposition supporters were seen celebrating outside the court building, as well as in opposition strongholds.
The election sparked days of sporadic protests in which at least 28 people were killed.
The vote had raised fears of major political violence - as was the case after a disputed election in 2007, according to media reports.
© 2017 - All Rights with The Financial Express