(AP Photo/Alberto Saiz)

The world’s greatest soccer player will be staying at Barcelona, as the two parties have agreed to a contract extension after a lengthy negotiation.

Per the Guardian:

No details of the new contract were disclosed, but the deal follows lengthy negotiations during which it was reported that the 26-year-old wanted to surpass Real Madrid’s Cristiano Ronaldo as the best-paid player in the world.

The news was announced on the eve of Barça’s title decider against La Liga leaders Atlético Madrid, who will travel to the Nou Camp on Saturday. Barcelona need a win to take the title, with a draw enough for Atlético.

Messi has scored 28 goals in 30 league appearances to lead Barça’s charge once again, and has 41 in all competitions this season. In all the Argentinian has scored 354 goals in 424 official matches for Barca, the highest scorer in the club’s history.

Since joining Barcelona’s senior club in the 2004-05 season, Messi has led the team to three Champions League titles (2006, 2009, 2011), six La Liga championships (2005, 2006, 2009, 2010, 2011 and 2013) and two Copa del Ray titles (2009, 2012). In 2009, Messi helped Barcelona become the first Spanish club to win all three titles in the same season.