Lionel Messi has agreed to a contract extension that will keep him with Barcelona till at least 2021, the club announced on Wednesday. 

The deal will be signed in the coming weeks, when Messi, who got married to long-term sweetheart Antonella Roccuzzo earlier in the week, returns to Barcelona for pre-season training.

The 30-year-old maestro’s current deal was set to expire in 2018, but negotiations had been underway since last season to tie him down to the club for a period that will now span over two decades. 

Messi has racked up eight La Liga titles, four Champions Leagues, five Copa del Rey, seven Spanish Super Cups, three European Super Cups and three Club World Cups. 

Individually, he has won the Ballon d’Or prize five times, more than any other Player in the history of the game, four Pichichi trophies (La Liga top-scorer) and four Golden Shoes (European league’s top-scorer).  

With the Catalans, the diminutive Argentine has scored 507 goals in 583 matches and is the club’s record goalscorer, as well as La Liga’s record goalscorer.

While the club have not confirmed this, a buyout clause of €300 million is said to have been interested in the iconic forward’s contract.