Bayern Munich have confirmed the signing of Barcelona midfielder Thiago Alcantara, subject to a medical.
The 22-year-old, who was previously linked with Manchester United, has now joined up again with his former Barca manager Pep Guardiola who took over at the Allianz Arena this summer.
He has agreed a four-year contract and moves for an initial fee of €20million with add-ons taking the total amount to €25million.
A statement on Bayern's website confirmed: "FC Bayern Munich and FC Barcelona have agreed terms for the transfer of 22-year-old Thiago Alcantara.
"In the course of the next few days, the Spain midfielder will travel to Munich for the obligatory medical before signing a four-year contract binding him to Germany's biggest club until 30 June 2017.
"The clubs have agreed a transfer fee totalling €25million. FC Bayern will directly pay €20million. The remainder will be financed by the proceeds of a friendly match agreed between the clubs. A further proportion of the remaining sum will be indirectly covered by Thiago Alcantara himself, as the player will forego part of his remuneration."
Bayern chairman Karl-Heinz Rummenigge added: "Thiago Alcantara was the biggest wish of our new coach Pep Guardiola. We're delighted we've successfully negotiated this major transfer.
"Only recently, Thiago was named best player at the Under-21 European Championship. He's a fantastic player with huge potential, and he will make FC Bayern stronger."
Thiago scored a hat-trick in the final against Italy as Spain's youngsters won this summer's tournament in Israel.
He becomes the fourth member of that victorious squad to make a big-money move this summer, following Real Madrid's signings of Isco, Asier Illarramendi and Dani Carvajal.
Confirmation of Thiago's move will come as a setback to new United boss David Moyes, who has now been linked with a bid for another Barca midfielder in Cesc Fabregas.