Dundee manager Neil McCann hailed a “magnificent” defensive display from his side as they laid to rest any relegation worries with a 1-0 win at Ross County.
Going into the game in Dingwall, the Dark Blues were still not mathematically assured of survival, with Partick Thistle six points behind with two games to play.
In the end, Thistle’s defeat at home to Motherwell meant Dundee would be safe anyway.
However, Neil and his players wanted to get the job done themselves and did so thanks to Simon Murray’s 51st-minute header.
Neil said: “It’s always a horrible position to be in.
“I came into the job in this sort of position last season and it wasn’t enjoyable but we did the business pretty quickly in our first three games but Tuesday night it was still rolling on.
“We wanted to do it off our own back, under our own steam and win the game.
“I felt Ross County were the better side in the first 20 minutes, we started getting our foot on the ball and began to play a wee bit.
“I was unhappy with them at half-time with the start of the game and, indeed, at the start of the second we coughed up a chance.
“However, when we play we know we are a difficult side to contain and we were always looking to hit them on the break once we got the first goal.”
With their own survival at stake, the Staggies were desperate for a goal that could give them a lifeline.
The Dundee defence, though, held firm.
Neil added: “I thought we defended magnificently well in the second half as they threw everything at it. There’s a few dodgy ones with the ball bouncing around and maybe a suggestion of a penalty but I felt we were well worth our three points.”
County were furious at referee Andrew Dallas’ decision to book Michael Gardyne for diving with five minutes to go.
Co-manager Stuart Kettlewell said: “I know there is human error in football but at the end of the day these decisions are massive.
“But if you get a penalty at that stage of the game who knows what happens, you have an opportunity to get level and build momentum to win the game.
“We would love to know who is accountable because we just get fobbed off all the time.”