Bayern Munich have confirmed Pep Guardiola will become the club's new manager in the summer.
Guardiola, 41, has been without a club since leaving Barcelona at the end of the 2011-12 season as he sought time away from football.
During his sabbatical in America, the Spanish coach has been linked with several clubs, including Manchester City, Chelsea, Arsenal and AC Milan.
However, Bayern have moved to secure his services for the 2013-14 campaign after they announced on Wednesday he has agreed a three-year deal at the Allianz Arena.
Guardiola, who won three Liga titles and two Champions League trophies during his time at Barca, will succeed Jupp Heynckes as Bayern boss.
Bayern confirmed the news on their official Twitter account: "Jupp #Heynckes will finish his successful career by the end of this season. Pep #Guardiola will take over as FC Bayern head coach in July."