Bayern Munich have confirmed the signing of RB Leipzig centre-back Dayot Upamecano.

The 22-year-old, who was linked with Manchester United and Liverpool, will officially join Bayern on July 1 and has signed a five-year contract.

Bayern Munich director Hasan Salihamidzic said: "We're happy that we've been able to sign Dayot Upamecano. We're convinced that Dayot will be a very important member of our team in the coming years."