Spain manager Vicente del Bosque says he is quitting after his side's Euro 2016 last-16 elimination by Italy.
The 65-year-old led La Roja to victory at the 2010 World Cup, the first in their history, and a second successive European Championship in 2012.
He took over as boss after Luis Aragones led Spain to their first major trophy at the 2008 Euros.
Del Bosque told Spain's Radio Nacional: "I have no intention to remain as coach."
He added: "No matter what the result of the Euros, I had no doubt about what my future would be."
He offered to resign after Spain's exit at the group stage of the 2014 World Cup, but was convinced to stay.
Spain won their opening Euro 2016 games against the Czech Republic and Turkey before a defeat by Croatia meant they finished as Group D runners-up, leading to the second-round match against Italy.
Del Bosque took over as Spain boss following spells in charge of La Liga outfit Real Madrid and Turkish side Besiktas.
He led Real to two European Cups, two Spanish league titles, one European Super Cup and one World Club Cup during four years in charge.