Opposition leader Raila Odinga argued the presidential poll was rigged and took his case to the court, challenging the election commission's declaration of President Uhuru Kenyatta's re-election with 54 percent of the vote.
After hearing closing arguments from lawyers representing the National Super Alliance (NASA) opposition coalition, the Independent Electoral and Boundaries Commission (IEBC) and Kenyatta, Chief Justice David Maraga said, "That brings us to the end of the hearing. We will deliver judgement on Friday."
The disputed election in 2007 led to politically- motivated ethnic violence in which over 1,100 people died. In 2013 Odinga took his dispute to the courts, and lost.
Today the court was handed reports from its own registrar and a panel of court appointed experts assessing allegations of errors and malpractice that the opposition say mean the election result should be annulled and the poll re-run.
More From This Section
In his final submission James Orengo, a NASA official and lawyer, said the reports told "a very, very sad story" of irregularities, pointing to a number of unsigned tally forms and others lacking security features, that he said could affect as many as five million votes.
However, lawyers for the IEBC and Kenyatta told the court the reports in fact validated their argument that the vote was free and fair.
"All they have been talking about is this technicality or that technicality," said IEBC lawyer Paul Muite of the NASA case. "The results announced captured and represented the will of the Kenyan people."
Fred Ngatia, acting for Kenyatta, said that discrepancies were nothing more than "a clerical error".
"This was a fair election in which the integrity of the vote was protected as far as is humanly possible," he said.