William Ruto
William Ruto
Now playing
08:51
Opposition party disputes vote in Kenya
amanpour interview john kerry kenya interview_00002207.jpg
amanpour interview john kerry kenya interview_00002207.jpg
Now playing
01:09
Kerry: Kenyan elections have 'great legitimacy'
Kenya's opposition alliance, National Super Alliance (NASA) presidential candidte, Raila Odinga arrives at Old-Kibera primary school polling centre to cast his ballots August 8, 2017 mobbed by his supporters in Nairobi.
Kenyans began voting in general elections headlined by a too-close-to-call battle between incumbent Uhuru Kenyatta and his rival Raila Odinga that has sent tensions soaring in east Africa's richest economy. / AFP PHOTO / TONY KARUMBA        (Photo credit should read TONY KARUMBA/AFP/Getty Images)
PHOTO: TONY KARUMBA/AFP/Getty Images
Kenya's opposition alliance, National Super Alliance (NASA) presidential candidte, Raila Odinga arrives at Old-Kibera primary school polling centre to cast his ballots August 8, 2017 mobbed by his supporters in Nairobi. Kenyans began voting in general elections headlined by a too-close-to-call battle between incumbent Uhuru Kenyatta and his rival Raila Odinga that has sent tensions soaring in east Africa's richest economy. / AFP PHOTO / TONY KARUMBA (Photo credit should read TONY KARUMBA/AFP/Getty Images)
Now playing
01:37
Kenya opposition claims election system hacked
kenya election day wrap sevenzo_00002317.jpg
kenya election day wrap sevenzo_00002317.jpg
Now playing
01:54
Vote count begins in Kenya's election
Supporters of Kenyan presidential candidate Raila Odinga wave as he departs in a helicopter after addressing a rally held by his coalition party The National Super Alliance (NASA) in Kisumu on August 3, 2017. 
Raila Odinga, Kenya's veteran opposition leader and one-time prime minister, is taking his fourth run at the presidency in an election next week. The 72-year-old has been a mainstay of Kenyan politics since the 1980s but has never achieved his presidential ambition, his career emulating that of his father, Jaramogi Oginga Odinga, who led the opposition for three decades but never the country. / AFP PHOTO / FREDRIK LERNERYD        (Photo credit should read FREDRIK LERNERYD/AFP/Getty Images)
PHOTO: FREDRIK LERNERYD/AFP/Getty Images
Supporters of Kenyan presidential candidate Raila Odinga wave as he departs in a helicopter after addressing a rally held by his coalition party The National Super Alliance (NASA) in Kisumu on August 3, 2017. Raila Odinga, Kenya's veteran opposition leader and one-time prime minister, is taking his fourth run at the presidency in an election next week. The 72-year-old has been a mainstay of Kenyan politics since the 1980s but has never achieved his presidential ambition, his career emulating that of his father, Jaramogi Oginga Odinga, who led the opposition for three decades but never the country. / AFP PHOTO / FREDRIK LERNERYD (Photo credit should read FREDRIK LERNERYD/AFP/Getty Images)
Now playing
01:30
Kenya's 'James Bond' election
Kenya's President Uhuru Kenyatta attends an evangelical pre-election prayer rally for peace in Nairobi, Kenya Sunday, July 30, 2017. Kenyans are due to go to the polls on Aug. 8. to vote in presidential elections after a tightly-fought race between incumbent President Uhuru Kenyatta and main opposition leader Raila Odinga. (AP Photo/Ben Curtis)
PHOTO: Ben Curtis/AP
Kenya's President Uhuru Kenyatta attends an evangelical pre-election prayer rally for peace in Nairobi, Kenya Sunday, July 30, 2017. Kenyans are due to go to the polls on Aug. 8. to vote in presidential elections after a tightly-fought race between incumbent President Uhuru Kenyatta and main opposition leader Raila Odinga. (AP Photo/Ben Curtis)
Now playing
02:43
Kenya prepares for presidential election
(CNN) —  

Kenyan President Uhuru Kenyatta has been re-elected for a second term after securing more than 98% of the vote in a highly-contentious rerun election that was boycotted by his main opposition rival.

The announcement caps months of drama and sporadic bouts of deadly violence following a landmark decision by the country’s Supreme Court to nullify the previous election in September, which Kenyatta also won, citing irregularities.

On Monday, Kenya’s Independent Electoral and Boundaries Commission (IEBC) announced 56-year-old Kenyatta had received 98.25% of votes cast in last week’s rerun. His main rival, 72-year-old veteran opposition leader Raila Odinga who refused to participate in the poll, garnered just 0.96% of the vote.

Turnout for the election – in which voting had been indefinitely suspended in several protest-hit constituencies – was low, with just 38% of the country’s 19.6 million registered voters casting a ballot, according to the IEBC’s final tally.

The IEBC chairman Wafula Chebukati, however, said that he was satisfied the voting body had delivered “a free, fair and credible election.”

Poll reveals a deeply polarized Kenya

The opposition parties, including Odinga’s National Super Alliance (Nasa) coalition, now have seven days in which to contest the result by launching a legal challenge, Kenya’s Ministry of Information told CNN. The courts then have 14 days in which to rule on such petitions.

Kenya’s Supreme Court previously overturned the original August 8 results that handed victory to Kenyatta after Odinga claimed the results had been hacked.

When the IEBC failed to provide Kenya’s highest court with access to its computer servers, the court ruled the results were fraudulent and ordered a rerun within 60 days.

The vote was held on October 26, but Odinga had earlier announced he was quitting the rerun because the IEBC had not adequately implemented reforms.

Odinga urged his supporters to boycott the election, and activists tried to stop the vote.

Odinga told CNN on Friday that the low turnout amounted to a “vote of no confidence” for Kenyatta and his administration, adding that the opposition would pursue all legal avenues available to put the government under pressure going forward.

This view was disputed by Kenya’s deputy president William Ruto, who on Sunday repeated a claim that low voter turnout was due to “orchestrated” violence, “sponsored” by the opposition party. Odinga, Ruto said, “organized militia” to prevent election officials and materials from their polling stations.

Related: Kenya’s election chief fears presidential vote won’t be credible

Ethnic tensions

Violent clashes have broken out over the election, with 24 people killed in the immediate wake of the initial vote, according to the Kenya National Commission on Human Rights. At least six have died in connection to the runoff, officials said.

The politically motivated violence has renewed tensions between Kenya’s ethnic groups, whose bonds are often stronger than the national identity. Kenya has at least 40 ethnic groups.

Kenyatta is a member of the country’s largest community, the Kikuyu, originating in the country’s central highlands. The Kikuyu have long been accused of wielding strong economic and political power in the country.

Odinga is part of the Luo community, which some say has become increasingly marginalized in recent years.

CNN’s Farai Sevenzo and Dominique van Heerden reported from Nairobi, Faith Karimi and Dakin Andone wrote from from Atlanta while Laura Smith-Spark and Angela Dewan contributed from London.