Barcelona striker Lionel Messi has agreed a contract extension which will keep him at the club until 2021.
The 30-year-old, who joined Barca aged 13, will sign the deal when he returns to training from pre-season.
“The club is very happy with the renewal and commitment of Messi, the best player in history,” said the La Liga club.
The Argentina forward has scored a club-record 507 goals in 583 matches since his competitive debut in 2004.
Spanish media say the new deal contains a 300m euro (£263m) buy-out clause.
Since breaking into the first team under former Barca boss Frank Rijkaard, Messi has won eight La Liga titles, the Champions League four times and the Copa del Rey on five occasions.