Nigeria's Supreme Court has thrown out both opposition challenges to President Bola Tinubu's election win.
The two main opposition candidates had sought to reverse February's presidential election, alleging it was marred by irregularities.
The Election Petition Court upheld Mr Tinubu's victory last month, but the opposition insisted Nigeria's highest court should quash the judgement.
A presidential election result has never been overturned in Nigeria.
The judges first dismissed the challenge by Atiku Abubakar, who came second in the poll, and then rejected a similar one from Peter Obi, who came third.
The election was the most fiercely contested since the end of military rule in 1999, with three strong candidates for the first time. Mr Tinubu won with 37% of votes cast, against 29% for Mr Abubakar and 25% for Mr Obi.