Tom Davie scored a vital winner to give Gainsborough Trinity a massive lift in their battle to avoid Conference North relegation.
Davie slotted home in the 55th minute to secure the three points at Gloucester City, and move the Blues six points clear of the drop zone.
It is Gloucester who sit in the final relegation spot and before the game, both teams saw it as a must win tie.
Trinity made two changes to the team who lost to Brackley last time out at the Martin and Co Arena.
Liam Davis and Paul Beesley came in for Dan Clayton and Curtis Bateson who had been recalled by parent club Scunthorpe United.
There was early panic even before the game kicked off as Jake Picton strained his hamstring in the warm up and youngster Chris Salt moved up from the bench.
Gloucester clearly knew the importance of the fixture as they won a corner within the first minute.
Two minutes later and they should have been ahead as striker Joe Parker ran clear.
Goalkeeper Jan Budtz made the first of a string of impressive saves as he stood up, made himself big and blocked Parker’s shot.
Gainsborough dealt with the early pressure well and began to assert themselves in the game.
Davis chipped over the bar before Toner struck the post with a dipping volley.
The Blues were getting shots on target but never truly tested the tigers keeper before the interval.
Budtz, however, made two more smart saves to ensure the sides went level at the break, foiling Parker again on both occasions.
Trinity were defending superbly with Adam Quinn a huge presence, winning almost every header and throwing his body on the line along with Salt.
The home team started the second half as they did the first.
Budtz was forced into an early save as he palmed away a heavily deflected shot before the ball was cleared for a corner.
Trinity were greatful to their Danish keeper who had been under intense scrutiny of late.
In the 55th minute they rewarded his display as from a free kick, Beesley headed at goal.
Paul White, the Gloucester number one, fumbled it onto the post and Davie managed to poach the ball away from the outstretched White on the line.
Gloucester never really threatened after the goal and were later reduced to 10 men when substitute Nathan Modest was shown a straight red for a reckless, studs up challenge on Davie.
Trinity held on to secure their third away win of the season and after the game, manager Steve Housham was ecstatic with the character his team showed.
He said: “It’s been a tough week and I would be the first one to admit that, but I’m delighted for the players who put in a performance and a shift to get the three points.”
“We’ve dug deep and we said it might be the odd goal that would be enough”
“The first half there was so many breakaways, from both teams, and clear cut chances.”
“It doesn’t mean we are safe, we’ve got to get consistency but it just feels good to get the win.”
“We always talk about setting the tone and Adam Quinn did that from the very first minute.”
“We all know he’s not blessed with pace but what he is blessed with is his experience.”
Trinity: Budtz, Roma (c), Quinn, Salt, Davie, Forrest, Dixon, Toner (Russell72) Davis (Clayton 67) Margetts, Beesley (Binns 82). Subs: Stamp, Lacey.
City: White, Green (Modest 82), Jones, Harris (c), Avery, Connolly, Hall, Webb, Griffin (James 66), Parker, White. Subs: Knowles, Richards, Rivers.
Goalscorers: Davie (55)
Red Cards: Modest (87).
Ref: Mr A Hendley.
Assistants: Mr J Roskelly, Mr D Wilding.