Sheffield Wednesday fell to a seventh straight defeat to pile more pressure on manager Dave Jones.
Wednesday had made the perfect start at Hillsborough with Miguel Llera opening the scoring after just three minutes.
Llera then gave away the 18th-minute penalty for Sam Baldock to level before Gary Madine put the hosts back in front with 11 minutes to go.
But a second Baldock spot kick followed by an Albert Adomah winner with minutes remaining gave The Robins the points.
Wednesday's woeful run
- 8 Dec: Wednesday 2-3 Bristol City
- 2 Dec: Cardiff 1-0 Wednesday
- 27 Nov: Wednesday 1-4 Watford
- 24 Nov: Wednesday 0-2 Leicester
- 17 Nov: Nott'm Forest 1-0 Wednesday
- 9 Nov: Middlesbrough 3-1 Wednesday
- 6 Nov: Wednesday 0-2 Blackpool
A final controversy - Madine shooting home but the referee blowing for a foul - simply added to Jones's frustrations.
Wednesday started the fixture brightly, despite their recent fun of poor form, and were ahead inside three minutes.
Chris Lines curled an inviting corner into the six-yard box for Llera to meet the ball with an unstoppable header.
The hosts should have added to their total but squandered chances and Bristol City grabbed an equaliser against the run of play.
Baldock received the ball into his feet in the penalty area, turned Llera and the centre-half brought him down. Referee Andre Mariner pointed to the spot and Baldock calmly sent keeper Chris Kirkland the wrong way.
In the second half both sides - each battling to fight their way clear of the relegation zone - strove for the win, but it was Wednesday who struck first.
Jermaine Johnson broke at pace, his shot was palmed out and Madine slotted home the rebound from eight yards.
The Owls had just over 10 minutes to hold on, but defensive frailties were all too evident and did not go unpunished.
First Llera handled in the area and Baldock converted, then Adomah curled in a superb effort from a free-kick to pour the misery on Wednesday and Jones.
Sheffield Wednesday manager Dave Jones on the incident surrounding Madine's disallowed goal:
"There are things that go against you, I have seen the referee and he says that Llera has pushed him. If he has pushed him, that's the stupidity of it.
"He says he didn't so, if he didn't then the referee has made a decision I have never seen before in football. It was a clear-cut penalty [before Madine's shot for the disallowed goal], but he didn't see it.
"Today was a prime example of, 'When your luck is out, it's out', which is silly because for 84 minutes our luck was in, but it's cost us."
Bristol City manager Derek McInnes talking about the same incident:
"I think the ref has a decision to make on the handball. But he gives a free-kick prior to the ball going in the net, my players have said they heard a whistle before the ball went into the net.
"For me the only thing I have seen is the over-reaction of the centre-back grabbing the referee with both hands, it was over-aggressive. You can't manhandle the referee, he is quite within his rights to give a free-kick, that's a fact.
"Whether Sheffield Wednesday might have had a penalty before that is another matter, but before the shot came in the referee's whistle had clearly gone. The complaint they should have is whether it was a penalty or not, it could have gone either way."
Live Text Commentary
Free kick awarded for a foul by Lewis Buxton on Liam Fontaine. Tom Heaton takes the direct free kick.90:00 +2:06 Booking
Booking Miguel Llera receives a yellow card for unsporting behaviour.90:00 +0:08
Inswinging corner taken by Chris Lines, Header from deep inside the area by David Prutton goes harmlessly over the crossbar.90:00 +0:08 Substitution
Substitution Stephen Pearson comes on in place of Sam Baldock.87:46 Booking
Booking Booking for Sam Baldock for time wasting.87:43 Full time
Full Time The game is over, as the referee blows his whistle.87:30 Goal scored
Goal! - Albert Adomah - Sheff Wed 2 - 3 Bristol C Albert Adomah scores a goal direct from the free kick from just outside the box to the top left corner of the goal. Sheff Wed 2-3 Bristol City.86:46 Booking
Booking Booking for Martin Taylor for unsporting behaviour.86:45
Neil Danns fouled by Martin Taylor, the ref awards a free kick.85:43 Goal scored
Goal! - Sam Baldock - Sheff Wed 2 - 2 Bristol C Sam Baldock scores a power penalty. Sheff Wed 2-2 Bristol City.84:17
Neil Danns restarts play with the free kick. Gary Madine is penalised for a handball.84:17 Booking
Booking David Prutton booked for unsporting behaviour.84:13
Free kick awarded for a foul by Lozano Rodri on Matthew Bates.83:49 Substitution
Substitution Joe Bryan goes off and Paul Anderson comes on.82:59
Joe Bryan gives away a free kick for an unfair challenge on Lewis Buxton. Chris Lines delivers the ball from the free kick right-footed from right by-line.80:57 Substitution
Substitution Danny Mayor replaces Jermaine Johnson.80:57 Substitution
Substitution Lozano Rodri replaces Chris O'Grady.78:33
The assist for the goal came from Jermaine Johnson.78:33 Goal scored
Goal! - Gary Madine - Sheff Wed 2 - 1 Bristol C A goal is scored by Gary Madine from inside the penalty area low into the middle of the goal. Sheff Wed 2-1 Bristol City.77:42
Corner taken by Albert Adomah, clearance by Martin Taylor.
Albert Adomah takes a shot. Blocked by Miguel Llera.77:01
Outswinging corner taken by Joe Bryan, Jeremy Helan manages to make a clearance.76:49
The ball is sent over by Joe Bryan, Jeremy Helan makes a clearance.73:33
Miguel Llera gives away a free kick for an unfair challenge on Ryan Taylor. Sam Baldock restarts play with the free kick. Liam Fontaine takes a shot. Brilliant save by Chris Kirkland. Outswinging corner taken right-footed by Sam Baldock from the right by-line.72:50
Michail Antonio has an effort at goal from outside the box which goes wide right of the goal.71:54
Lewis Buxton sends in a cross.71:39
A cross is delivered by Lewis Buxton.71:09
Joe Bryan crosses the ball, comfortable save by Chris Kirkland.67:01
Outswinging corner taken by Joe Bryan.66:20
Jeremy Helan gives away a free kick for an unfair challenge on Albert Adomah. Richard Foster restarts play with the free kick.65:48
Lewis Buxton crosses the ball, Miguel Llera produces a header from inside the area that goes over the crossbar.65:33
Foul by Ryan Taylor on Gary Madine, free kick awarded. Gary Madine restarts play with the free kick.64:56
Lewis Buxton produces a cross.63:12
Jermaine Johnson sends in a cross.60:26
Lewis Buxton delivers the ball.60:07
Gary Madine takes a shot. Stephen McManus gets a block in.59:19
Effort on goal by Jermaine Johnson from just outside the area goes harmlessly over the target.57:53
Corner from right by-line taken by Chris Lines.57:21
Jermaine Johnson has an effort at goal from outside the box which goes wide left of the target.56:58
Gary Madine takes a shot. Tom Heaton makes a save.56:11
Albert Adomah takes a shot. Save by Chris Kirkland.55:42
Corner taken right-footed by Albert Adomah.55:26
David Prutton takes a shot. Blocked by Matthew Bates.54:29
The ball is delivered by Richard Foster, Martin Taylor manages to make a clearance.51:46
Michail Antonio is penalised for a handball. Tom Heaton takes the direct free kick.50:34
Corner taken by Chris Lines.50:19
Jermaine Johnson crosses the ball, Ryan Taylor makes a clearance.47:56
Outswinging corner taken right-footed by Neil Danns played to the near post, Header from close range by Sam Baldock misses to the right of the target.47:30
Albert Adomah takes a shot. Jeremy Helan gets a block in.46:02
Outswinging corner taken by Marvin Elliott from the left by-line.45:50
The ball is swung over by Joe Bryan, David Prutton makes a clearance.45:01
The referee starts the second half.45:00 +1:13 Half time
Half Time The referee blows for half time.44:26
Michail Antonio has an effort at goal from deep inside the area missing to the right of the goal.41:22
Corner taken by Chris Lines.40:30
The ball is sent over by Liam Fontaine.38:51
Chris Lines has an effort at goal from just outside the box which goes wide of the left-hand post.37:47
Outswinging corner taken from the right by-line by Chris Lines, Ryan Taylor manages to make a clearance.37:01
Outswinging corner taken by Joe Bryan from the left by-line.31:17
The assistant referee signals for offside against Michail Antonio. Tom Heaton takes the indirect free kick.28:22
Effort from outside the penalty box by Chris Lines goes wide right of the target.26:49
Outswinging corner taken right-footed by Albert Adomah from the right by-line, Unfair challenge on Chris O'Grady by Marvin Elliott results in a free kick. Chris Kirkland takes the direct free kick.25:36
David Prutton concedes a free kick for a foul on Sam Baldock. Albert Adomah has a direct shot on goal from the free kick, Gary Madine gets a block in.23:12
Chris O'Grady gives away a free kick for an unfair challenge on Liam Fontaine. Free kick taken by Joe Bryan.22:26
Jermaine Johnson concedes a free kick for a foul on Joe Bryan. Liam Fontaine restarts play with the free kick.21:15
Marvin Elliott challenges Michail Antonio unfairly and gives away a free kick. Direct free kick taken by Chris Lines.18:35
Free kick awarded for an unfair challenge on Gary Madine by Matthew Bates. Chris Lines restarts play with the free kick.17:13 Goal scored
Goal! - Sam Baldock - Sheff Wed 1 - 1 Bristol C Placed penalty scored by Sam Baldock. Sheff Wed 1-1 Bristol City.16:08
Miguel Llera gives away a Penalty for an unfair challenge on Sam Baldock.14:36
Marvin Elliott takes a shot. Blocked by Chris Lines.13:30
Unfair challenge on Marvin Elliott by David Prutton results in a free kick. Richard Foster takes the direct free kick.11:11
Free kick awarded for a foul by Neil Danns on Chris Lines. Chris Kirkland takes the free kick.9:47
A cross is delivered by Jermaine Johnson, Chris O'Grady produces a left-footed shot from inside the area that goes over the bar.9:06
Gary Madine takes a shot. Comfortable save by Tom Heaton.7:51
Foul by David Prutton on Marvin Elliott, free kick awarded. Tom Heaton takes the direct free kick.7:13
Albert Adomah produces a cross, Chris Kirkland makes a comfortable save.5:25
Stephen McManus concedes a free kick for a foul on Chris O'Grady. Shot comes in from Miguel Llera from the free kick, save by Tom Heaton.2:59
Chris Lines provided the assist for the goal.2:59 Goal scored
Goal! - Miguel Llera - Sheff Wed 1 - 0 Bristol C Miguel Llera scores a headed goal from close range. Sheff Wed 1-0 Bristol City.2:33
Corner taken by Chris Lines,2:20
The ball is delivered by David Prutton, Tom Heaton makes a save.1:42
Ryan Taylor challenges Miguel Llera unfairly and gives away a free kick. Lewis Buxton takes the free kick.0:31
Foul by David Prutton on Neil Danns, free kick awarded. Tom Heaton takes the direct free kick.0:00
The referee gets the match started.
Live data and text provided by our data suppliers