Zinedine Zidane has resigned as Real Madrid manager for the second time in his coaching career.
Real failed to win a trophy this season and lost out on winning the La Liga title by city rivals Atletico Madrid on a dramatic final day on Saturday.
Real in a statement said that they “must now respect” Zidane’s decision.
They thanked Zidane, 48, for his “professionalism, dedication and passion over the years and what he means to Real Madrid”.
Former France forward Zidane, who played for Real from 2001 to 2006, won three consecutive Champions League titles and a La Liga title in his first period as manager between 2016 and 2018.
He left in May 2018, but returned 10 months later and secured a second La Liga title last season.
Real finished two points behind Atletico in La Liga as they failed to win a trophy for the first time since 2009-10.
They suffered an early exit from the Copa del Rey at the hands of third division side Alcoyano and lost to Chelsea in the Champions League semi-finals.
Zidane is the only manager to win the Champions League three times, and his trophy haul at Real also included two Club World Cups, two Uefa Super Cups and two Spanish Super Cups.
He could take another break from football but he has been linked with taking charge of the French national team and Juventus, where he spent five years as a player.
However Didier Deschamps is likely to remain France coach until the 2022 World Cup in Qatar, barring a disastrous performance at the European Championship that kicks off next month.