Julian Nagelsmann will take over as Bayern Munich coach from next season to replace Hansi Flick, the reigning German and European champions announced on Tuesday.
Nagelsmann, 33, will move from RB Leipzig on a five-year contract after Flick, whose relationship with the club's powerful sporting director Hasan Salihamidzic has deteriorated, asked to be released from his contract.
"FC Bayern agreed to current head coach Hansi Flick's request to have his contract terminated on 30 June 2021, two years earlier than its original expiry date," the club said in a statement.
Nagelsmann has never hidden his desire to coach Bayern, especially as he comes from the Bavaria region.
Last season, he led Leipzig to the semi-finals of the Champions League and this season his side has replaced Borussia Dortmund as Bayern's main title challengers.