St Mirren have signed former Hearts defender Danny Grainger on a one-year deal, with the option of a further year.
The 26-year-old was released after two seasons at Tynecastle and had recently spent time on trial with Sheffield Utd.
Saints boss Danny Lennon told the club's website: "We lost a very good left back at the end of last season when Paul Dummett left.
"Danny is a top quality left back to replace him.
"He has the ability, experience and character we are looking for to help take the club forward and we are delighted to have him on board."
Englishman Grainger has also played for Dundee Utd, St Johnstone and Gretna.