St Johnstone captain Dave Mackay has signed a contract extension until the end of next season.
The 34-year-old defender joined Saints from Livingston in 2009.
Mackay told his club website: "When I arrived, everyone was raving about how good Gary Irvine had been in the right-back position and I wondered if I had maybe made the wrong move.
"But I had confidence in my own ability and I'm delighted the way things have turned out."
Mackay, who was due to be out of contract this summer, began his career with Dundee and had a spell with Oxford United before returning to Scotland with Livingston.
He has made 234 appearances for Saints, including 29 this season.
Manager Tommy Wright added: "It's great news for us and provides another piece in the jigsaw for next season already.
"Dave is as consistent as ever and, although I know he sees himself moving into central defence eventually, Steven Anderson and Tam Scobbie are doing well in there at the moment, so Dave might have to bide his time."