Russell Anderson has signed a new contract with Aberdeen, extending his stay with the club until the summer of 2014.
The captain, in his second spell with the Dons, has agreed a 12-month extension to his current deal, which was due to expire at the end of the season.
Anderson says he will finish his career with the club when his contract expires.
"I've always said the day I don't feel up for the rigours of the SPL, I'll stop there and then," he told Aberdeen's official website.
"But right now, I'm as fit as I have been and I'm really looking forward to at least another year playing.
"I started my career at Aberdeen and it's fitting that I'll finish my playing career here as well."
Aberdeen's chief executive, Duncan Fraser, said of the new deal: "Russell's influence both on and off the park is absolutely immense and he is a club captain in the true sense of the word.
"He has always said he wants to carry on playing for as long as he feels able to do so and everyone at the club is delighted for him."
Anderson has made 32 appearances for Aberdeen since returning in March 2012. He played 328 times for the club, scoring 19 goals, between 1996 and 2007 before moving on for spells with Sunderland, Plymouth Argyle, Burnley and Derby County.