Murray Davidson has signed a new one year contract with St Johnstone.
The deal also includes an appearance-based 12 month extension clause.
The 26-year-old, who joined Saints in 2009, has been on a short-term deal since May.
He has been recovering from a torn patella tendon injury which ended his season in January.
Davidson is nearing a first team comeback after playing in two under-20 matches, and manager Tommy Wright had seen enough to start talks about a fresh contract.
Wright said: “I’m delighted that Muzz has signed. We know what he is capable of, he has worked extremely hard and is getting closer to full fitness and when he achieves that it will be like having a new player.”