Xabi Alonso has completed his £5.2 million transfer to Bayern Munich after five years at Real Madrid.
The 32-year-old won La Liga, two Copa del Reys, the Champions League and the Super Cup at the Santiago Bernabéu after a five-year spell at Liverpool.
Alonso leaves after a medical checkup at a sports physician in Munich
Alonso performed superbly in Munich back in April when Real battered the Bavarians 4-0 at the Allianz Arena and has inked a two-year contract with the Bundesliga champions.
Alonso faced Bayern twice last season
The Spaniard emerged as the likeliest central midfielder to leave Real in the wake of Toni Kroos' arrival when the club convinced Sami Khedira to stay at the club last week.
The €32m Spanish youngster Asier Illarramendi only joined Real last year and Luka Modrić, expected to partner Kroos in midfield, recently signed a new long-term contract.
Alonso will become one of an elect number of players to play under José Mourinho and Pep Guardiola if he moves to Bavaria. Samuel Eto'o, Eiður Guðjohnsen, Zlatan Ibrahimović, Cesc Fàbregas and Arjen Robben have previously played for two of world football's eminent coaches.
"Lookin' for some happiness. But there is only loneliness to find..."
The loss of Kroos to Real, Javier Martínez's anterior cruciate ligament injury, as well as fitness concerns over Bastian Schweinsteiger and Thiago Alcântara have compelled Guardiola to bolster the Bayern midfield.
Alonso could become the fifth Spaniard at Bayern alongside Thiago, Martínez, his former Liverpool teammate Pepe Reina and Juan Bernat.
On Thursday, Alonso announced his retirement from international football after winning 114 caps. Alonso was in Spain's double-European Championship winning and victorious 2010 World Cup squads.