Barcelona’s Argentinian three-time Ballon D’Or winner Lionel Messi has agreed to renew his contract at the Spanish giants until June 2018, the club said on Tuesday.

Barcelona said in a statement it had reached an agreement with Messi, 25, whose current contract expires in 2016, and he would sign his new deal “in the coming weeks”.

It also reached agreements with two of its other top players, veteran defender and captain Carles Puyol and midfielder Xavi Hernandez, who will each sign up to stay until 2016.

Puyol, 34, agreed to extend his contract when it expires next year and Xavi, 32, will do so when his expires in 2014.

“This news means that FC Barcelona has secured its ties with three of its most important players,” the club said in its statement.

Barcelona are 13 points clear of their fierce rivals, title holders Real Madrid, at the top of the Spanish league, and nine points ahead of second-placed Atletico Madrid, who they beat 4-1 last weekend.

Messi — who has been at the club since 2004 — is the top scorer in the league with 25 goals so far this season and recently broke Gerd Mueller’s 40-year record for the most goals in a calendar year.

Mueller scored 85 in 1972 and Messi has scored 90 so far this year, though there are claims that Godfrey Chitalu of Zambia and Zico of Brazil netted more.

It has been reported that Messi’s new deal could eventually net him a cool £12.5 million (Dh74.29 million) net before bonuses.

This would still be some way behind his former Barcelona teammate Samuel Eto’o, who earns £16m at Russian club Anzhi Makhachkala
But it would outstrip the annual earnings before bonuses of Messi’s great rival, Ronaldo, who takes home £9 million a year.

With all his bonuses and lucrative sponsorship deals, Messi is reportedly the richest footballer in the year, worth £27.5 million, £1.3 million more than second-place David Beckham.