Dundee United have announced the appointment of Jim Goodwin as manager on a two-year deal.
The former Aberdeen and St Mirren boss took over at Tannadice in March until the end of the season, and despite the club looking set for relegation, he was been rewarded with the job on a permanent basis.
The club now say the 41-year-old is "tasked with the challenge of revitalising the football department ahead of the 2023/24 campaign".
After agreeing his deal, Goodwin said: "I'm really pleased to have been able to get things agreed with the club. I'm also incredibly grateful to the chairman and the rest of the board for offering me the position in the first place.
"This is a terrific football club with a great history and there are a lot of things to be positive about, albeit we've had a difficult season.
"It is now my job to make the necessary changes to ensure the club improves and moves forward in the right manner. Every decision I make during my time at Dundee United will be in the best interests of the club.
"Recruitment is pivotal at any football club. I recognise where the weaknesses have been this season and understand the key areas we need to improve and strengthen in the summer. I think that's something for the supporters to look forward to.
"I'm extremely grateful to the Dundee United faithful for the welcome they have given me - I just want to repay them with a team they look forward to coming to watch and can be proud of."
Chief executive Luigi Capuano added: "We're delighted to secure Jim's services for the upcoming two seasons.
"As a club, we believed it was important to have him in place as soon as possible to allow the crucial rebuilding process to begin ahead of the 2023/24 season immediately.
"Since his initial appointment in March, Jim has been an example of professionalism, displaying all of the key attributes we feel are necessary to lead the football club and deliver on-field success in the future."