St Johnstone have confirmed the signing of former Hamilton Accies midfielder Ali Crawford on a permanent deal until 2024.
The playmaker had been on loan at Callum Davidson's side from English club Bolton Wanderers, but now returns north of the border for good.
He has joined St Johnstone on a long-term contract after impressing manager Davidson in his first six months in Perth.
Crawford is a product of the Hamilton youth academy and made 271 appearances before leaving Accies for Doncaster Rovers in 2018.
St Johnstone are bottom of the Premiership and are locked in a battle for their league safety after winning the League Cup and Scottish Cup last term.
Crawford said: "From the moment I joined St Johnstone I had a really good feeling about the Football Club. The lads in the dressing-room all made me feel welcome and that was very important.
"From early on I always hoped to stay here beyond the initial loan deal and to now be signed until 2024 is great for myself and my family to have that stability.
"On a personal level, I know there is hard work ahead and I'm ready to roll my sleeves up. I want to help the team win games of football.
"We find ourselves in a position in the Premiership table that we do not want to be in. It's up to us, the players, to get us out of it and climb up the table.
"I know we are all ready to face this challenge. We owe it to the manager, the staff and the supporters to start getting points on the board.
"We have a very good squad and the manager has already made one or two signings to improve the quality and there may well be one or two more to come in.
"Anything that creates competition for places is a good thing. It's all about everybody doing what's best for the football club and giving 100 percent."
Follow Lanarkshire Live Sport on Twitter via @LanLiveSport, like us on Facebook or find us on Instagram for the latest sports news, pictures and video.