Brentford’s winning run was brought to an end in Yorkshire as they were beaten by Huddersfield Town.
Sean Scannell scored in the first 20 minutes and a Jake Bidwell own goal just after half time proved to be the winner.
Jonathan Douglas reduced he arrears to set up a thrilling final 20 minutes but Brentford couldn’t find a way back in to the game.
The Bees had plenty of chances across the 90 minutes and may go away feeling they deserved a share of the spoils, but it wasn’t to be.
The game was a fine spectacle; both teams were better going forward than in defence.
Huddersfield rotated the ball well around midfield and were incisive in the final third.
Brentford were able to move the ball well at times and had plenty of shots at goal but could not find a way past Huddersfield goalkeeper Alex Smithies more than once.
When The Bees could get Alan Judge, Jon Toral and Alex Pritchard linking in attacking areas in the first half, chances resulted.
But, at the other end, Nahki Wells and Scannell, playing either side of Grant Holt in the Huddersfield attack, were a thorn in Brentford’s side.
Wells had an early shot saved and then blasted in to the side netting after getting away in the inside left channel.
Judge shot over from 25 yards for The Bees and then fired inches wide after Bidwell had got away on the left and fed Judge, via Toral.
Douglas had a good chance to put Brentford in front 13 minutes in when he got in at the far post and on to a Pritchard cross but he headed wide from close range.
Smithies then produced a fine save to turn a deflected Judge shot over the bar after Toumani Diagouraga and Toral had linked well.
Brentford had the upper hand after the first 15 minutes but fell behind soon after.
The home side moved the ball to the left when left back Jack Robinson was up in support, he fed the ball in to the box and Wells got away from the defence and drilled the ball across, Scannell arrived at the far post to deliver it back from where it came and in to the net.
Brentford reacted well to going behind and looked for an immediate response.
Pritchard had a shot blocked and Bidwell’s follow-up from 20 yards was tipped round the post by Smithies.
When Tony Craig met a resulting corner soon after, Smithies smothered at the feet of Gray, the ball dropped loose, Toral sliced a volley and Craig’s shot was cleared.
Pritchard shot just wide soon after but Huddersfield weathered that storm and started to take control of the match.
Tommy Smith had a shot blocked for the home side; David Button saved from Jonathan Hogg and then scrambled away a Jacob Butterfield effort.
Craig blocked a Butterfield shot and then made a fine tackle when Wells appeared to be clear and on to a Conor Coady pass.
Wells fired a free kick over the bar for the home side but Brentford ended the half well.
Pritchard fired a left foot shot inches wide and then, after a fine run, set up Gray in the inside right channel but the striker miss-hit his effort and the chance was gone.
Pritchard had another shot blocked early in the second half but The Bees were slow out of the blocks after the break.
Wells had a shot deflected wide after getting on to a Holt pass and moments later it was two.
Robinson was again the key man, breaking down the left and drilling in a cross that cannoned in to Bidwell at the far post and flew in to the net.
Wells could have made it three but shot over and then had a header saved before Button denied Holt and then Coady.
The Bees introduced Stuart Dallas early in the half and he shot wide before forcing Smithies in to a save after some nice interplay on the left.
Wells again blasted over when well-placed as Huddersfield looked to seal the match but Douglas brought Brentford back in to it with 20 to play.
Tommy Smith, just on as a substitute, picked the lock and Douglas burst in to the box before slotting past Smithies.
That set up a fantastic final act as Brentford, with Nick Proschwitz also on and posing the home defence problems, threw men forward.
It gave the home side chances on the break and Button had to make a superb save, making himself big to deny Wells as he went through one-on-one, to keep The Bees in it.
Judge sliced a shot wide when he was set up by the increasingly influential Dallas and then forced Smithies in to a fine save from a curling free kick.
The Bees were piling on the pressure – when a corner dropped loose a Harlee Dean shot was blocked and he then fed Smith but Smithies go down well to keep out the Brentford striker’s shot.
The Bees went closer still just after – Dallas fed a cross back in, Proschwitz was crowded out but the ball dropped to Douglas and somehow a combination of Smithies and his defender Smith kept it out.
Proschwitz headed wide and thought he had been fouled for a penalty in the dying seconds but referee Eddie Ilderton, who made himself the centre of attention by jumping up and down to mimic Dean before booking the Brentford defender late in proceedings, decided no offence had been committed and Brentford’s chance was gone.
The game was brought to a close seconds later and Brentford’s five match winning run was at an end.
Huddersfield Town: Smithies; Smith, Hudson, Wallace, Robinson; Butterfield, Coady, Hogg; Scannell, Holt (sub Dixon 90 mins), Wells (sub Vaughan 78 mins)
Subs (not used): Allinson, Peltier, Gerrard, Ward, Hamill
Bookings: Hudson (40 mins), Butterfield (84 mins), Vaughan (86 mins)
Brentford: Button; Odubajo, Dean, Craig, Bidwell; Diagouraga (sub Smith 69 mins), Douglas; Pritchard, Toral (sub Dallas 52 mins), Judge; Gray (sub Proschwitz 69 mins)
Subs (not used): Bonham, Tarkowski, Saunders, Jota
Bookings: Craig (42 mins) (fourth of season), Dean (79 mins) (third of season), Douglas (86 mins) (sixth of season)
By Chris Wickham