Borussia Dortmund striker Robert Lewandowski has signed a pre-contract agreement to join fellow German side Bayern Munich in June.
The 25-year-old Poland international has agreed terms on a five-year deal and will arrive at Bayern on a free transfer when his contract expires.
Lewandowski has scored 16 goals for club and country this season.
He grabbed the winner when Dortmund beat Arsenal 2-1 in the Champions League in October.
Bayern chairman Karl-Heinz Rummenigge was delighted with the deal, saying on the club's official website: "We are very pleased that this transfer is successful.
"Robert Lewandowski is one of the world's best strikers, he will strengthen the squad of FC Bayern and give us a boost."
Lewandowski is the second key Dortmund player within a year to announce a move to Bayern, after playmaker Mario Gotze agreed to a 37m Euros (£31.5m) transfer to the Allianz Arena last April.
The switch had been widely mooted for months, with the frontman denying in September he had confirmed he would definitely join Bayern.
Lewandowski has helped Dortmund to the 2010-11 and 2011-12 Bundesliga titles, plus the 2012 DFB-Pokal cup, since signing from Lech Poznan in 2010.
He played a starring role in their run to an eventful Champions League final defeat to Bayern last season, memorably scoring four goals in the semi-final first leg against Real Madrid.
Jurgen Klopp's side have struggled this term, however, and sit 12 points behind leaders Bayern in fourth.
Despite securing progression to the knockout stages of the Champions League, they won only one of their last six top-flight games before the winter break.