Carles Puyol has signed a three-year extension to his current Barcelona contract, keeping him at Camp Nou until 2013.
The Catalan giants announced last week they had reached an agreement in principle with Puyol, whose existing deal expired in the summer.
Puyol has been a talismanic figure in Barcelona's back four since making his debut back in 1999, going on to captain them to countless trophies.
A club statement read: "A week after the announcement of Carles Puyol's renewal, the Barca captain signed his new contract.
"It was 14:23hrs when the Catalan defender signed, in the club offices, the contract which ties him to FC Barcelona until 2013.
"The release clause of this new contract has been fixed at 10million euros."
Puyol has won 10 trophies with Barca including two UEFA Champions Leagues, three league titles and one Copa del Rey, while he also helped Spain to win Euro 2008.
The 31-year-old has made over 450 appearances for his club, putting him in fourth place in the all-time appearance charts, and is delighted to have penned a new deal.
"I am very happy for the confidence the club, the coach and my team-mates have put in me," Puyol told Barca TV .
"The fans also played a key part in my decision to stay as they constantly show me their support, as much in the good moments as in the bad.
"I know that it is not like here anywhere else."
Barca have been working hard to tie their treble winners to long-term deals. They have already improved the contracts of Lionel Messi, Victor Valdes and Xavi while talks are ongoing with Andres Iniesta, Rafael Marquez and coach Pep Guardiola.
a.top_betting_link_1 {background-image: url('/Images/skysports/fixturecal/icons/fix-bet.gif');background-repeat:no-repeat;background-position:0% 50%;padding-left:18px;}Barcelona 2/5, Draw 3/1, Osasuna 6/1RSL’s Findley named MLS Player of the WeekMarquez set for Barca deal