Bayern Munich have completed the signing of Sadio Mane from Liverpool in a deal worth up to £35m.
The 30-year-old has signed a contract with the German 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.
He leaves Liverpool 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, the Champions League, FIFA Club World Cup, UEFA Super Cup, FA Cup and Carabao Cup.