FC Barcelona announced Tuesday that key players Lionel Messi, Xavi Hernandez and Carles Puyol have agreed to contract extensions that will keep them with the club until the latter part of the decade.

Messi's deal calls for him to remain with Barça until July 2018, while Xavi and team captain Puyol will remain with the squad until 2016.

The players will sign their new contracts in the coming weeks, the club said in a statement.

Messi, who recently broke a 40-year-old record for most goals in a calendar year, is getting a substantial raise, but club spokesman Toni Freixa said he didn't know if the increase will make the Argentine international the world's highest-paid soccer player.

"This news means that FC Barcelona has secured its ties with three of its most important players," the team said.

Puyol, who will be 38 when his new contract expires, has said he intends to keep playing into his 40s.

"The way he is now, I see him playing as long as he wants," Freixa said of Barça's captain. EFE