Former Barcelona manager Luis Enrique was appointed Spain's new head coach on Monday after previous incumbent Julen Lopetegui was sacked on the eve of the World Cup in what turned out to be a disappointing campaign.
"Luis Enrique's appointment as coach for the next two years was approved unanimously," Luis Rubiales, president of the Spanish football federation, told reporters.
Enrique, 48, will have the tough task of reviving a national team deflated after three consecutive failures at major tournaments, the latest their World Cup loss to hosts Russia - ranked 70th in the world - on penalties in the last-16.
Before that, Spain were humiliated at the hands of the Netherlands in 2014 and beaten by Italy at Euro 2016, their 2008-2012 winning streak but a distant memory.
Enrique will be taking over from Lopetegui, who was fired by Rubiales when he announced he had signed to take over at Real Madrid.
The national team's then sporting director Fernando Hierro stepped in hastily to replace him and led Spain to the last 16, before stepping down after the tournament.
Changing the manager two days before Spain's opening game did not likely benefit the side's chances.
Enrique will also be taking over a team without captain Andres Iniesta, who has retired from international football.
He faces the same two-pronged brief that Lopetegui was tasked with two years ago: to restore confidence and to bring through the younger generation.
Of the starting XI against Russia, only Marco Asensio will be younger than 30 by the time the next World Cup comes around. Gerard Pique, Sergio Ramos, David Silva, Diego Costa and Sergio Busquets will all be 33 or older.
It means those left from the triple triumph of Euro 2008, the 2010 World Cup and Euro 2012 will either be gone or down to the last few and that could pave the way for an evolution of style.
Enrique was Barcelona manager for three years from May 2014, leading the Catalan giants to the treble of Primera Liga, Copa del Rey and Uefa Champions League titles in his first campaign at the helm.
He will be aided by Jose Francisco Molina, 47, a former goalkeeper at Atletico Madrid and Deportivo La Coruna who played nine times for Spain and was named as sporting director.