Vicente del Bosque has resigned as Spain head coach after failing to inspire his side past the round of 16 in the ongoing Euro 2016 tournament.
The coach who spent eight years in the role won the 2010 World Cup and Euro 2012 but saw his side crash out at the group stage of the 2014 World Cup.
The 65-year-old also saw Spain crash out of Euro 2016 at the last-16 stage on Monday, losing 2-0 to Italy at the Stade de France in Paris.
Del Bosque announced his decision to leave his post on Spanish radio on Thursday evening.
“Without a doubt, I have no intention to remain as coach, but you have to be discreet. No matter what the result of the Euros, I had no doubt about what my future would be,” he told Spanish public radio RNE.
“I have handled this issue discreetly. But it is a decision that was taken in advance.”
The manager also revealed he had no intention of returning to management but will be available for comments advise.
Del Bosque added: “On July 31 I will leave football. I will be available to help. I will leave the bench although I will always remain close and will want things to go well for Spanish football. If I can help in anything, I will.”
The former Real Madrid manager replaced Luis Aragones as Spain head coach in July 2008, just weeks after the La Roja had defeated Germany 1-0 in the final of Euro 2008.