Two goals in five minutes from substitute Leroy Lita gave Bristol City their first win over Brentford in nine games.
The Robins' striker captalised on two errors by Bees goalkeeper Paul Smith when it seemed Brentford were headed for their first win in six weeks.
The first forty-five minutes belonged to City, with Smith making three fine saves to deny Christian Roberts (twice) and Brian Tinnion. City had the ball in the net on the half-hour mark but the goal was ruled out for offside.
Tommy Wright went close with a header for Brentford in the 34th minute, with Matt Somner cautioned for a foul on Louis Carey two minutes before the break.
A thirty-yard shot from Stephen Evans rattled the bar in the 53rd minute, with Brentford themselves having a goal disallowed two minutes later for offiside after a slick passing move between Sonko, Hunt and May. However, the latter two combined in the 62nd minute for the games opening goal. The Irishman's corner was floated superbly for May, who scored his first goal in over two months.
City hit back in the 76th minute, Lita beating Smith to a left-wing cross to level matters. Five minutes later, Lita sealed things from six yards as Smith could only parry a shot from Luke Wilkshire. Wally Downes gave Alex Rhodes his Leaguer debut but City went home with all three points.