Brentford made it three Championship wins in a row with a deserved victory at west London rivals Queens Park Rangers.
The hosts, who would have gone second in the table with victory, went behind in the first half when Ollie Watkins headed in Bryan Mbeumo’s cross.
Rangers equalised soon after the break through returning captain Grant Hall’s header, before Brentford retook the lead on the hour mark as Said Benrahma smashed in a penalty.
Watkins sealed the win in the fourth minute of stoppage time, tapping in Mathias Jensen’s low cross as Brentford broke on the counter-attack.
The Bees were good value for their victory and could have had more goals were it not for R’s goalkeeper Liam Kelly who made fine saves to deny Benrahma, Josh Dasilva and Watkins.
Rangers also created some good chances – the best of them Nahki Wells’ bullet header which was superbly tipped wide by David Raya.
But it was Josh Scowen’s foul on Mbeumo in the box which led to the decisive spot kick, although it looked a harsh decision on the R’s midfielder.
Watkins simply made sure of three points, scoring his 10th goal of the season with the last kick of the game.
QPR remain eighth in a tight Championship table, two points off an automatic promotion place, while Brentford are now three points outside the play-offs in 12th.
Brentford have signed Greece international striker Nikos Karelis on a one-year deal.
The 27-year-old was a free agent after leaving Belgian side Genk earlier in the summer.
“Nikos is a player that will reinforce our options in attacking areas,” boss Thomas Frank told the club website.
“He is fit now and while he may take a while to be 100% ready to start in the Championship, I know he will have an impact.”
Find all the latest football transfers on our dedicated page.