Pep Guardiola, who led Barcelona to 14 titles over four seasons and turned the Spanish club into arguably the best team in the world, has agreed to become the coach of Bayern Munich starting next season.
Bayern announced the deal Wednesday, after a meeting of the top management.
Earlier in the day, Jupp Heynckes told Bayern he wanted to end his coaching career when his contract expires at the end of the season.
Rumors of Guardiola coming to the German powerhouse have been swirling around local media for weeks and Bayern made it official just a day after Guardiola expressed his desire to manage in England at some point.
Guardiola's arrival is a major coup for Bayern.
Buy German Bundesliga tickets: Bayern Munich ticekts, Borussia Dortmund Tickets and tickets for Schalke 04 secuerly online now!!
"You have to say, hat off," former Bayern star and president Franz Beckenbauer said.
"Matthias Sammer and Guardiola - I don't know where you can find a better partnership," Beckenbauer told reporters, referring to Bayern's director of sport.
Even Bayern's rivals were impressed.
"A great compliment to Bayern that they have landed this coup," said Hans-Joachim Watzke, the managing director of Borussia Dortmund.
Guardiola's arrival will be good for the entire league, "because the whole world can see that they managed to bring such a coach to Germany," Watzke said.
Guardiola, who turns 42 on Friday, stepped down at the end of last season and is on a one-year sabbatical.
Under his guidance, Barcelona dominated Spanish and European competitions with its passing game and frequent scoring from standout Lionel Messi.
Barcelona won the Champions League twice during Guardiola's tenure, in 2009 and 2011, and captured three Spanish championships and two cup titles.
Thousands of tickets are on sale on Europe's biggest football ticketing website: 1st4 Football Tickets.com. We have UEFA Champions League tickets available such as Manchester United vs Real Madrid tickets, FC Barcelona vs AC Milan tickets and tickets for Celtic vs Juventus. Last but not least, we also have Capital One Cup tickets available.