Bayern Munich have signed RB Leipzig centre-back Dayot Upamecano, with the Frenchman set to join the German champions on 1 July.
RB Leipzig say Bayern paid Upamecano’s buy-out clause, worth a reported 42.5m euros (£38m).
Upamecano, 22, has agreed a five-year deal with Bayern.
“We’re convinced that Dayot will be a very important member of our team in the coming years,” said Bayern sporting director Hasan Salihamidzic.
Upamecano, who had been linked to Manchester United, Chelsea and Liverpool, has been at Leipzig four and a half years and played 139 games.
European and world champions Bayern are four points clear of second-placed Leipzig in the Bundesliga.
Leipzig face Liverpool in the Champions League last 16, with the first leg taking place in Budapest on Tuesday.
Chief executive Oliver Mintzlaff said the club wanted to keep Upamecano but the player wanted a “new challenge and to take the next step”.
“Dayot has shown outstanding development during his time in Leipzig, which is exemplary for our philosophy of finding young talents and consistently bringing them to the top level,” he added.
Find all the latest football transfers on our dedicated page.