Barnsley's chances of Sky Bet Championship survival were left hanging by a thread after a 2-1 defeat at play-off-bound Derby left them four points from safety with two games to play.
A glaring error by goalkeeper Luke Steele allowed Jeff Hendrick to put the Rams ahead before a deflected Johnny Russell shot increased their lead and, although Nick Proschwitz pulled a goal back, it came too late for the visitors.
Russell had a chance to extend the hosts' advantage with a penalty eight minutes from the end, but saw it saved by Steele.
The match has ended.
The ball is thrown in by Tom Kennedy and the play continues.
Goal kick taken by Lee Grant.
Clearance made by Richard Keogh.
The ball is crossed by Tom Kennedy.
Throw in by Tom Kennedy.
John Eustace makes a clearance.
Nick Proschwitz sends in a cross.
The throw in is taken by Chris O'Grady.