Danny Batth's second-half equaliser against managerless Bristol City edged Stoke City to the brink of Championship safety with a deserved draw at Ashton Gate.
The former Wolves centre-half scored his second goal in as many games with a far-post header that moved the Potters five points clear of the bottom three and up to 17th.
His close-range finish, which cancelled out Filip Benkovic's fine curling strike moments before half-time, also all but ended Bristol City's hopes of reaching the play-offs.
The Robins, under the caretaker charge of Dean Holden after head coach Lee Johnson's sacking on 4 July, are now five points adrift of sixth-placed Cardiff City.
At the time of Johnson's departure it seemed as though their season was already over, only for back-to-back wins over Hull City and Middlesbrough to then throw them back into the mix.
However, despite Leicester City loanee Benkovic's strike putting them in the driving seat against Stoke, the away side's equaliser was a deserved one.
Stoke all but safe
When Michael O'Neill took over at Stoke on 8 November, they were rooted to the bottom of the table and six points from safety.
But the former Northern Ireland manager has guided them to 12 wins in his 30 matches so far to haul them away from danger.
They were good value for their draw against Bristol City and may even have won the game to mathematically secure their survival but for a brilliant Daniel Bentley save that denied Batth a second goal.
Before that, Nick Powell had also struck a post with a fierce left-footed drive, while both teams missed glorious chances in the first half when Bristol City striker Nahki Wells and then Lewis Gregory wasted one-on-one opportunities.