Luis Enrique has stepped down as Spain manager after less than one year because of “serious personal reasons”.
The former Barcelona boss will be replaced by long-term assistant Robert Moreno.
Moreno has been the Spaniard’s right-hand man during spells with Roma, Celta Vigo and Barcelona.
A conference took place at 4pm local time in Spain to officially confirm Enrique’s decision.
The RFEF president Luis Rubiales appeared alongside sporting director Jose Francisco Molino to discuss the 49-year-old’s future.
Enrique has not been present in the dugout for recent fixtures against Malta, the Faroe Islands and Sweden.
Before the match against Malta, a Spain statement read: “The RFEF confirms that our national team coach, Luis Enrique Martinez, will be absent from this evening’s game due to a family matter of the utmost urgency.
“We ask that his privacy be respected at this time.”
Moreno took temporary charge of the side for all three games in Enrique’s absence and La Roja won every match.
Former Alaves manager Avelardo Fernandez was another name that has been linked to the vacant role.
Moreno will take charge of the squad ahead of the Euro 2020 qualifiers in September against Romania and the Faroe Islands.