Substitute Sam Saunders scored one and made one as Brentford made it back-to-back wins against Bristol City.
The Bees had to withstand first half pressure at Ashton Gate but Saunders came off the bench with 15 minutes to go and put the visitors in front within five.
He then set up a second goal for Clayton Donaldson as Brentford recorded their third away win in four Sky Bet League One games.
Marlon Harewood reduced the arrears late on but Brentford’s two goal burst had done the trick.
The hosts started very positively and Brentford took a little while to find their feet.
City did not look like a team at the foot of League One and without a win in 20 league matches in the first half hour.
They had the territorial advantage in the early stages and played on the front foot but failed to really test Richard Lee in the Brentford goal.
Scott Wagstaff shot wide inside the first minute before Tony Craig blocked a Marvin Elliott effort and then deflected a Sam Baldock shot wide.
The hosts were pressing the ball in such a way it seemed they had an extra man on the field.
Brentford could not hold the ball in attack and when they did get possession they were hustled and harried until a mistake was forced.
The only positive they would have taken from the first quarter of the match was that they were not behind.
Bobby Reid shot just over and Wagstaff missed the target with two efforts from distance.
Brentford Manager Uwe Rösler rotated his front three in order to try and get a foothold in the game and The Bees improved as the half wore on.
Donaldson had a sight of goal but his shot was quickly blocked and Alan McCormack fired over.
Will Grigg arguably had the best chance of the first half when Kadeem Harris escaped from Brendan Maloney on the left, his cross found the striker at the far post but he couldn’t get his header on target.
Marlon Pack shot over for the hosts and a Marvin Elliott header was scrambled away before the half time break came with the score sheet blank.
Harris came close to changing that early in the second half when he wiggled past two men and curled a shot just past the far post while a deflected Jay Emmanuel-Thomas shot looped in to the arms of Lee at the other end.
City didn’t seem able to press the ball in the second half as they had done in the first and Brentford started to take the upper hand.
They had the ball in their attacking areas more, Adam Forshaw started to come in to the game and move forward with the ball and the home defence looked stretched.
Donaldson had a shot blocked, Jake Bidwell fired over and Forshaw nodded a McCormack cross wide as chances started to come.
They were not, however, able to maintain a consistent spell of pressure and the game started to drift towards the final whistle.
Rösler introduced Saunders with 16 minutes to go as he went for the win and it took five minutes for the wide man to provide.
A cross was half cleared to Saunders 20 yards out; he stepped forward and fired in a shot that deflected in to the bottom corner.
Marcello Trotta came close to doubling the lead when he first a shot across the goal and just wide.
But a City defender got a touch and from the resulting corner it was two.
Saunders delivered it to the far post and Donaldson came steaming in to volley home from close range.
Emmanuel-Thomas fired a late free kick well wide and he then set up a City goal.
A cross reached the forward at the far post and he lashed in a shot, it flew through a forest of legs and Harewood converted from close range with Brentford appealing for offside.
That lead to some late pressure from the home side but no chances and Brentford left with the points.
Bristol City: Parish; Maloney, Dunk, Williams, Shorey; Wagstaff (sub Bryan 62 mins), Pack, Reid (sub Harewood 81 mins), Elliott; Emmanuel-Thomas, Baldock
Subs (not used): O’Leary, Cunningham, Taylor, Brundle, McLaughlin
Brentford: Lee; McCormack, Dean, Craig, Bidwell; Forshaw, Douglas, Saville; Donaldson, Grigg (sub Trotta 54 mins), Harris (sub Saunders 74 mins)
Subs (not used): O’Brien, Logan, Taylor, Diagouraga, El Alagui
Attendance: 10,639 (512 Bees fans)
By Chris Wickham