Nahki Wells scored his 20th goal of the season to keep Bristol City on the fringes of the Sky Bet Championship play-off race and leave Middlesbrough scrapping for dear life.
Wells helped himself to a double either side of Jamie Paterson's fine finish as the visitors, under the guidance of caretaker manager Dean Holden, cruised to a 3-1 victory at the Riverside Stadium and secured back-to-back wins for the first time since February.
On an afternoon when the Teessiders paid tribute to former manager Jack Charlton before kick-off, they huffed and puffed and were unable to find the cutting edge they needed to repeat their midweek success at Millwall until Britt Assombalonga's late consolation strike, and they remain perilously close to the bottom three.
They were undone within six minutes of kick-off when Andreas Weimann pulled the ball back to Wells, whose instinctive curling left-foot effort beat 'keeper Dejan Stojanovic and went in off the post.
Things might have been even worse for the home side three minutes later had Stojanovic not got down at his near post to turn away Famara Diedhiou's skidding strike after he had cut inside from the left.
The Teessiders gradually worked their way into the game and defender Dael Fry lashed a 21st-minute shot high over after being picked out by George Saville on the edge of the six-yard box.
Saville was himself denied by the crossbar after 'keeper Daniel Bentley just managed to get his fingertips to the ball after the midfielder had met Ryan Shotton's long throw, although Stojanovic had to save from wing-back Jack Hunt at the other end after he had been played in by Paterson.
However, it was Paterson who doubled the visitors' advantage in emphatic fashion three minutes before the break, rounding off an impressive counter-attack by Hunt and Weimann after Bentley had plucked Paddy McNair's corner out of the air.
The pattern of the first half continued after the break with Boro pressing, but the Robins threatening and Tomas Kalas was left with his head in his hands after failing to make meaningful contact with Paterson's 55th-minute free-kick in front of goal.
City were home and dry with 11 minutes remaining when Wells stabbed past Stojanovic after Fry had failed to cut out Weimann's through-ball, and although Assombalonga reduced the deficit three minutes later, there was no way back.
What the managers said...
Middlesbrough's Neil Warnock: "We can't afford to rely on others. Not at all, no. They are all tough games. We have got three tough games. When you don't score enough goals and you concede silly goals like we do, it's a bad recipe. But there are other teams down there, I think, in a worse situation and we have got to capitalise.
"We haven't got to feel sorry for ourselves, we haven't got to worry about what's said about us or anything like that. We've just got to re-group and get the points."
Bristol City caretaker Dean Holden: "All we are focusing on is our performance. You can't really take care of the result, but you can take care of your own performance. The players have done that today and we'll look to do the same on Wednesday night against Stoke. We'll just focus on the performance and see after Wednesday night where we sit.
"The play-offs are not something we are even thinking about. You take your eye off the ball and you can fall flat on your face."