Javier Aguirre has resigned as coach of Mexico after their World Cup exit at the hands of Argentina.
Mexico came through the first stage by beating France and drawing with hosts South Africa, but could not negotiate a tricky last-16 tie with the Albicelestes, losing 3-1.
"I have to leave, it's the most honest thing to do," Aguirre is quoted as saying on the BBC website.
Aguirre took charge of Mexico for the second time last April when the side were in danger of not qualifying for South Africa after the unsuccessful tenure of Sven-Goran Eriksson.
In July he led them to a fifth CONCACAF Gold Cup title with a 5-0 hammering of rivals the United States.
He then oversaw a creditable showing in Group A, out of which many expected France and Uruguay to progress.
Aguirre still expected better though.
"I know the goal wasn't met," he said following the Argentina defeat.
"I'm a little disappointed, I knew that our team could overcome Argentina. We worked hard, as a group we aspired to something more and the players left everything on the pitch. I have nothing to reproach anybody for."
Former Atletico Madrid boss Aguirre, who also led Mexico in the 2002 World Cup, guided his side to 19 wins in 32 games during his second stint in charge.