Brentford 3-1 Bournemouth
Brentford got their season back on track as they put Mark Warburton's imminent departure to the back of their minds and claimed victory over high-flying Bournemouth.
Jonathan Douglas celebrated signing his new 18-month contract by giving the Bees the lead after 10 minutes.
However, the Cherries levelled the scores as Danny Pugh found the net at the second attempt after a mix-up in the home side's back line.
However, Artur Boruc gifted Brentford the lead again as he dropped man-of-the-match Alex Pritchard's 30-yard free kick into his own net.
And, in stoppage time, Everton loanee Chris Long sealed the points after Pritchard's ball across the box to put an afterglow on an exhilarating game.
Griffin Park was still reeling after the club announced manager Mark Warburton would be leaving at the end of the season.
The outgoing boss made two changes from the side beaten 3-0 at Charlton as James Tarkowski replaced Harlee Dean and Alan Judge returned from injury in place of Nico Yennaris. Stuart Dallas moved to left back with Jake Bidwell serving the second of his three game suspension.
Bournemouth made the better side and David Button had to be alert to deny Callum Wilson's shot from six yards out.
Brentford went down the other end and Alex Pritchard produced a teasing cross that found its way to Douglas.
The Irishman, who signed a new contract yesterday, created some space and fired a shot over Artur Boruc to give the Bees the lead.
Jota nearly made it 2-0 as his curling effort stung the palms of Boruc before Pritchard, who was giving the Cherries defence a torrid time, turned wide after Toumani Diagouraga's header through.
However, almost out of nothing, Brentford shot themselves in the foot as Diagouraga's header bounced kindly for Pugh.
He rounded the goalkeeper but his first effort hit the post. Unfortunately, for the Bees the ball bounced kindly and the Cherries man levelled the scores.
Brentford came back and a ball over the top found its way to Andre Gray whose effort was cleared off the line by Steve Cook.
One of the reported disagreements between Warburton and owner Matthew Benham was over bringing in a free kick coach with the Bees boss turning down the idea.
It was almost inevitable, then, that Brentford would retake the lead by those means as Pritchard's shot was parried into his own net by Boruc.
Button has been a quiet achiever this season but he denied Wilson with his feet when through and denied Ryan Fraser either side of the Bournemouth man striking the post.
Chris Long nearly made it 3-1 with a long-range effort that Boruc had to parry round the post as the game went from end to end.
Warburton brought on Alan McCormack for his first appearance since Bolton away in October and he provided some added steel.
Jota, who had been out of sorts in recent weeks, had impressed and he nearly sealed the points as his effort struck the bar.
The Spaniard should have scored as Pritchard played him in off a counter attack before Long's effort was deflected onto the post.
Bournemouth kept attacking though and Wilson's header was deflected wide in the final moments of normal time.
But the Bees made sure of the points as Pritchard's cross was turned home at the far post by Long.
BEES: Button, Odubajo, Tarkowski, Craig, Dallas, Douglas, Diagouraga (McCormack 75), Judge (Toral 60), Pritchard, Jota, Gray (Long 69).
Subs (not used): Bonham, Dean, Saunders, Smith.