On Friday, the judges maintained that Mr Mahamud was validly elected although the High Court and the Court of Appeal had nullified his win.
Supreme Court Upholds Wajir governor's election
The Supreme Court upheld the election of Wajir Governor Mohamed Abdi Mohamud.
Cheif Justice David Maraga and Justice Isaac Lenaola were in favor of nullifying the Wajir 2017 gubernatorial poll but the majority of judges ruled in favor of upholding the election.
Former Governor Ahmed Abdullahi told the court that his rival failed to table evidence that he holds a degree.
Mr Mohamud then moved to the Supreme Court and was allowed to table evidence that he holds a degree as required.
High Court Judge Alfred Mabeya sitting in Nairobi, found that Mr Abdi did not have a university degree and the election was marred with irregularities.
Abdi defended himself saying he has two degrees - one in Business Administration and a Post-graduate degree in International Relations. He claimed to have graduated from University of Kampala.
Governor Abdi then moved to the Court of Appeal. Even there, a contested graduation list killed his case.
JOIN OUR PULSE COMMUNITY!
Eyewitness? Submit your stories now via social or: