Enrique Pena Nieto can now be sworn in as Mexico’s new president following a ruling by the country’s election tribunal.
Seven judges decided that the leftist coalition who complained of voter fraud and campaign overspending during July’s election had failed to prove its allegations.
The 46-year-old is set to begin his six year term in December.
“Mexico will have a presidency that is modern, responsible, open to criticism, ready to listen and one that takes into account all Mexicans,” said the president-elect.
Leftist leader Andres Manuel Lopez Obrador has rejected the ruling and has called a rally of his supporters in Mexico City’s main square on September 9.
He accused Pena Nieto of buying 5 million votes with illegal funding: “I will not recognise an illegitimate power stemming from the buying of votes,” Lopez Obrador told reporters after the announcement.
Around 300 protesters gathered outside the court calling for “Mexico without the PRI” referring to Pena Nieto’s party, which is feared because of its authoritarian rule during most of the 20th century.