James Vaughan grabbed a valuable late winner for Huddersfield in their race for Championship survival in a pulsating Yorkshire derby at Leeds.
Neil Danns put Huddersfield into a second-half lead when he volleyed home Vaughan's flick-on.
Aidy White equalised only two minutes after coming off the bench with a header when Jack Hunt failed to clear.
Rodolph Austin's volley then hit the bar for Leeds before Vaughan slotted home the winner after Hunt's fine ball.
The result represents a major blow for Leeds' hopes of sneaking into the play-offs. Manager Neil Warnock went into the match estimating his side would need at least six wins from their nine remaining fixtures.
The hosts started brightly though, with Luke Varney's header from Stephen Warnock's corner being cleared off the line and up onto the crossbar by Huddersfield captain Peter Clarke.
James Vaughan's goal was his ninth of the season and he is Huddersfield's leading scorer this term
Terriers goalkeeper Alex Smithies then thwarted El-Hadji Diouf with a low save before Vaughan headed Danny Ward's cross against the bar for the visitors.
And just before the break, Leeds goalkeeper Paddy Kenny pulled off a superb save to deny Ward.
The opener came nine minutes after the restart when Vaughan's header found Danns and the midfielder, on loan from Leicester City, volleyed in his first goal for Huddersfield.
Soon afterwards, Warnock brought White on for Paul Green and within two minutes the substitute capitalised on poor defending to level the game.
Leeds had their chances to grab a second, but it was the Terriers who got the winner when Vaughan side-footed beyond Kenny and inside the far post.
Leeds manager Neil Warnock:
"Realistically we're running out of games and [the owners] GFH know my situation, I speak to them on a regular basis.
"Once we're out of contention for the Premier League they know I won't be having another year in the Championship.
"They've got to look after themselves really. We've spoken about my successor, about people coming in if mathematically it's impossible to get into the play-offs."
Huddersfield manager Mark Robins:
"It was a typical derby game. The referee set his stall out early doors because he booked a couple of players and I thought there might not be 11 players left on the pitch.
"We grew into the game. We were resolute in the first half, got ourselves in front and conceded a really poor goal from our perspective because we started to drop [deep] and there was no pressure on the ball.
"But we kept our heads and although we were pegged back we were still in the game and although they were throwing bodies forward we dealt with it well."
- 01 Kenny
- 02 Peltier
- 04 Lees
- 15 Warnock
- 07 Green (White - 58' )
- 08 Austin Booked
- 11 Varney Booked
- 18 Tonge
- 25 Byram
- 21 Diouf
- 22 Habibou Booked (Hall - 58' )
- 12 Ashdown
- 05 Pearce
- 14 White
- 17 Brown
- 19 Norris
- 30 Hall
- 32 Dawson
- 01 Smithies
- 03 Dixon Booked
- 05 P Clarke
- 06 Gerrard
- 32 Hunt
- 04 Norwood (Beckford - 76' )
- 08 Clayton
- 10 Gobern (Woods - 90' )
- 11 Ward (Scannell - 76' )
- 20 Danns
- 18 Vaughan
- 13 Bennett
- 02 Woods
- 15 Wallace
- 07 Scannell
- 09 Novak
- 17 Robinson
- 21 Beckford