Ancelotti has been a highly successful manager during his time at Real Madrid, winning 15 trophies, including three UEFA Champions League titles. He will be replaced by Bayer Leverkusen head coach Xabi Alonso, who will take over as Real Madrid's new manager after the season ends.
Ancelotti will take over the Brazil national team from Dorival Junior, who was dismissed in March after 14 months in charge. His first game in charge will be against Ecuador on June 6th, a crucial World Cup qualifier. Brazil is currently fourth in the qualifying group, behind Uruguay, Ecuador, and current champions Argentina.
Ancelotti has a challenging task ahead of him to turn around the Brazilian national team, which has struggled in recent years. Meanwhile, Xabi Alonso has had success at Leverkusen, leading them to the Bundesliga title and the German Cup in his first full season as a senior club manager.
Ancelotti has expressed his gratitude to Real Madrid, saying "with this club, the honeymoon doesn't end." He will be remembered as one of the most successful managers in Real Madrid's history, and his departure marks the end of an era for the club.