Sadio Mane has completed a £35m move from Liverpool to join Bayern Munich on a three-year contract.
The Reds will receive 32m euros (£27.4m) with an additional 6m euros based on appearances, plus 3m euros for individual and team achievements.
Liverpool turned down two bids from Bayern before the two clubs settled on a move for the Senegal forward, who was under contract until next summer.
The 30-year-old joined Liverpool for £34m from Southampton in June 2016.
Mane scored 120 goals in 269 games for the Anfield club and finished last season with 23 goals in all competitions.
"Sadio Mane is a world star who underscores the appeal of FC Bayern and increases the attractiveness of the entire Bundesliga," said Bayern president Herbert Hainer. "It is for such unique footballers that the fans come to the stadiums."
Last week Liverpool confirmed the signing of Uruguay forward Darwin Nunez from Benfica for an initial £64m.
More to follow.
- Our coverage of Liverpool is bigger and better than ever before - here's everything you need to know to make sure you never miss a moment
- Everything Liverpool - go straight to all the best content