Zidane resigned as manager following an unprecedented era of success that saw Real win three consecutive Champions League titles, most recently defeating Liverpool 3-1 in Ukraine to complete the treble.More news: United Kingdom justice minister resigns over Brexit policy
Previously, French manager Zinidine Zidane shocked the footballing world by announcing his resignation from Real Madrid.
He was appointed to the role in the wake of Spain's poor showing at Euro 2016 in France when they were eliminated in the last 16. That U21 side featured the likes of David De Gea, Thiago, Koke and Rodrigo Moreno, all of whom have made it into the Spain squad for this summer's World Cup.
But with three days before Spain's World Cup opener against Portugal in Sochi, Madrid announced that the Basque tactician will leave that position after agreeing a three-year contract with the La Liga giants.More news: Dennis Rodman Weeps As He Recounts His Unwavering Faith In North Korea
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 is now preparing to lead Spain at the World Cup but the 51-year-old will depart his role as national team coach at the end of the tournament.
The Champions League holders have been searching for a new head coach ever since Zinedine Zidane took the decision to step down after two-and-a-half trophy-laden years in charge earlier this month.More news: Kate Middleton perfected summer style in a $70 Zara dress
But Madrid had finished a distant third as Barcelona took the honours in LaLiga, and Lopetegui will be charged with closing what was a 17-point gap.