Barnsley gave themselves a survival lifeline as they ended Brentford’s play-off hopes.
The Reds have taken their bid for Championship football to the final day after goals from super strikers Kieffer Moore and Oli McBurnie.
Bolton’s 2-0 defeat to Burton Albion means the Reds have leapt outside of the dreaded drop zone.
They are now level on points with the battling Brewers, who hold an inferior goal difference of 21.
The Reds were under early pressure, but managed to weather the storm.
Against the run of play Moore opened the scoring after 10 minutes.
It was a cross-cum-shot as the ball looped over Dan Bentley and going in off the post.
Moore had a great chance to double his tally when he headed Conor Mahoney’s cross wide.
After the break Adam Hammill did superbly to earn the Reds a corner.
And it was his fantastic delivery which led to goal machine McBurnie heading into the far corner.
Mahoney then forced Bentley into a good save, before Moore blasted wide.
It was brilliant football from the Reds as Hammill curled past the post.