German champions Bayern Munich have completed the signing of Sadio Mane from Liverpool in a deal worth up to £35m.
Mane, 30, has signed a contract with the Bundesliga champions until 2025.
Bayern will pay Liverpool an initial £27.5m with a further £5m based on appearances, and will pay another £2.5m based on individual and team achievements.
The deal eclipses what Liverpool paid for Mane £31m plus £2.5m in add-ons with Southampton not getting any additional money.
Mane had just one year remaining on his contract at Anfield and departs following the club-record signing of Uruguay striker Darwin Nunez from Benfica.
He departs Merseyside having made 269 appearances in all competitions since joining from Southampton in 2016, during which he scored 120 goals and registered 48 assists.
In his six years at Anfield, he won the Premier League, Champions League, FIFA Club World Cup, UEFA Super Cup, FA Cup and Carabao Cup.