Julen Lopetegui will take over after the World Cup (Image: Getty)
Julen Lopetegui will join the club after Spain’s participation in the World Cup
Real Madrid statement
In a statement on the club website this afternoon read: "Julen Lopetegui will be the Real Madrid coach after the celebration of the 2018 World Cup.
"Real Madrid C. F. announce that Julen Lopetegui will be the coach of the first team during the next three seasons.
"Julen Lopetegui will join the club after Spain’s participation in the World Cup, after two years leading the national team."
Lopetegui fired by Porto despite losing only once in league
Invalid email
We use your sign-up to provide content in ways you've consented to and to improve our understanding of you. This may include adverts from us and 3rd parties based on our understanding. You can unsubscribe at any time. Read our Privacy Policy
Mauricio Pochettino had been the front-runner for the role after Zidane's shock departure last month.
Andre Villas-Boas and Guti had been linked with Los Blancos in recent days.
However, Lopetegui will take over after Spain's World Cup campaign in Russia.
The former Spain goalkeeper has signed a two-year deal with the Champions League holders, according to reports.
Julen Lopetegui was linked with Wolves after their takeover in 2016 (Image: Getty)
Julen Lopetegui has been announced as Real Madrid's new boss (Image: Getty)
But Lopetegui's career path could have been very different a few years ago.
The former Porto boss had the chance to sign for Wolves after they were taken over back in 2016.
Lopetegui had agreed a deal with the club before Walter Zenga was appointed instead.