Enrique Pena Nieto has been confirmed as the winner of Mexico’s presidential election, following a partial recount.
With almost every vote counted, Mr Pena Nieto had 38.2%, with second placed Andres Manuel Lopez Obrador on 31.5%.
While third-placed Josefina Vazquez Mota admitted defeat, Mr Lopez Obrador said he would challenge the result in Mexico’s electoral tribunal.
Accusations of irregularities led to a re-check of about 50% of votes after the result was announced on Monday.
Mr Lopez Obrador’s party said the election had been fraudulent, and he accused Enrique Pena Nieto of buying votes.
Mr Pena Nieto, of the PRI party, told the BBC he had done nothing wrong and said he may sue his opponents over the allegations.
The president of Mexico’s electoral body said following the recount there was no reason not to accept the result.
The BBC’s Will Grant in Mexico City said the election had been a torturous process, and that Mr Pena Nieto was unlikely to see a quiet acceptance of the result.
As well as the left-wing candidate Andres Manuel Lopez Obrador’s legal challenge, a huge march is planed in Mexico City on Saturday.
Mexico’s Federal Electoral Institute has until early September to address complaints and formally announce a winner in the presidential election.