Barcelona striker Lionel Messi has agreed to extend his contract at the Catalan club which will keep him at Camp Nou 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.
Lionel Messi is also La Liga’s record scorer on 349 goals.
In a statement, Barca added Messi has “led the team to an era of extraordinary success, the likes of which has never been seen in world football”.