Huddersfield substitute Daniel Ward hit a last-minute winner to keep alive his side's hopes of automatic promotion with a 3-2 victory at champions Brighton.
The Terriers twice led with two goals from striker Benik Afobe, but were pegged back with Ashley Barnes and substitute Matt Sparrow replying for the Seagulls.
Ward gave Lee Clark's men their fifth successive away league win with an unstoppable low shot following Afobe's pass.
Huddersfield midfielder Scott Arfield had a first-time shot saved by Peter Brezoban before striker Afobe, on-loan from Arsenal, fired Huddersfield ahead after only eight minutes.
Afobe got the better of Gordon Greer by turning fully and driving a shot underneath the body of goalkeeper Peter Brezovan.
Brighton striker Chris Wood, on-loan from West Brom, almost brought the Seagulls level by firmly heading a cross from Liam Bridcutt against the crossbar.
Brighton equalised two minutes after the break when Barnes hit his 19th goal of the season from the penalty spot after Elliott Bennett had been brought down by Kevin Kilbane.
Huddersfield goalkeeper Ian Bennett dived full length to his right to parry Barnes' spot kick, but the striker reacted quickly to head the rebound into the other side of the goal.
Afobe struck again to restore Huddersfield's lead in the 61st minute by cashing in on a defensive gaffe by Inigo Calderon, who left goalkeeper Brezovan stranded by chesting the ball down inside the area.
Huddersfield piled on late pressure and defender Jamie McCombe twice forced excellent saves from Brezovan before Ward's late winner.
Copyright (c) PA Sport 2009, All Rights Reserved.
Do YOU want to write for GiveMeSport? Get started today by signing-up and submitting an article HERE: https://www.givemesport.com/writeforgms