Spain manager Julen Lopetegui will take over at Real Madrid after the World Cup.
Real Madrid announced the appointment on Tuesday afternoon.
Lopetegui has signed a three-year deal with the Champions League winners, replacing Zinedine Zidane, who surprisingly resigned after the 3-1 win over Liverpool.
Lopetegui took the Spanish national team job in 2016 after World Cup winner Vicente Del Bosque left the role. He is yet to taste defeat as a senior international manager, with 14 wins and six draws from his 20 games in charge.
He will vacate his Spain duties after this summer’s World Cup to begin working at the Bernabeu.
The news will come as a relief for Tottenham Hotspur and Liverpool fans, as both Mauricio Pocchetino and Jurgen Klopp were serious contenders for the job.
Real Madrid released the following statement to confirm the 51-year-old’s arrival: “Julen Lopetegui will be the coach of Real Madrid after the 2018 World Cup in Russia.
“Real Madrid CF announces that Julen Lopetegui will coach the first team for the next three seasons.
“Julen Lopetegui will join the club after the participation of the Spanish team in the World Cup, after two years leading the national team.”
Lopetegui has also coached Rayo Vallecano and Porto, as well as Real Madrid’s ‘B’ team in the 2008-09 season.