Match ends, Barnsley 2, Bristol City 2.
Cauley Woodrow scored with the final kick of the game as struggling Barnsley came from 2-0 down to draw with promotion hopefuls Bristol City.
Woodrow scrambled in from close range deep into stoppage time to lift the Tykes off the bottom of the Championship table and prevent City from moving up to second.
Wales defender Ashley Williams put the Robins in front shortly before half-time, heading Niclas Eliasson's free-kick in at the far post completely unmarked.
Andreas Weimann then doubled Bristol City's lead with 20 minutes remaining when he guided another wicked Eliasson set-piece delivery into the bottom corner.
But Aapo Halme's excellent header gave the hosts late hope and the Tykes, still winless since the opening weekend of the season, snatched a deserved draw through Woodrow's toe-poked finish.
It was Barnsley's third stalemate in four games under caretaker boss Adam Murray, whose side again showed signs of improvement and were good value for a point on the overall balance of play.
They were unfortunate to find themselves behind in the first half, with Robins goalkeeper Daniel Bentley making two superb saves - first tipping Mallik Wilks' curler around the post and then brilliantly diverting Conor Chaplin's snap shot onto the woodwork.
Barnsley mustered more than 20 attempts on goal across the entire game and, but for two lapses of concentration at set-plays, may well have won the match.
As it is, the Oakwell outfit are now 15 games without a victory in all competitions and on their longest winless run since 1959.
Bristol City's misery was compounded by the loss of captain Josh Brownhill in the first half, who added to their long list of injury woes by limping off with what was later revealed to be a back spasm.
They are already without first-team players such as Jay Dasilva, Adam Nagy and Benik Afobe, although Friday's game did mark the return of club-record signing Tomas Kalas at centre-half.
Barnsley caretaker manager Adam Murray told BBC Radio Sheffield:
"There's a little bit of anger and frustration but to nick a point is always nice.
"At points during the game we could have made more of the chances we had.
"But overall there's a sense of pride at the passion we've shown and it put a lump in my throat at the end of the game."
Bristol City head coach Lee Johnson told BBC Radio Bristol:
"I'm disappointed with the lads today for the first time this season - we had 45 seconds to see out for the win.
"We should have had enough at 2-0 up to see the game out.
"The crowd had completely gone at 2-0 but we allowed them a way back into the game."
- 5DiabyBooked at 42mins
- 11ChaplinSubstituted forSchmidtat 73'minutes
- 7BrownSubstituted forSimoes Inacioat 81'minutes
- 36WilksSubstituted forThomasat 58'minutesBooked at 84mins
- 28Simoes Inacio
- 23MooreSubstituted forBakerat 72'minutes
- 32Lopes Pereira
- 8BrownhillSubstituted forEliassonat 30'minutes
- 15WatkinsSubstituted forSemenyoat 73'minutes
- 31Ríos Lozano
- Jarred Gillett
- Shots on Target
Second Half ends, Barnsley 2, Bristol City 2.
Goal! Barnsley 2, Bristol City 2. Cauley Woodrow (Barnsley) right footed shot from very close range to the bottom left corner. Assisted by Patrick Schmidt.
Attempt blocked. Patrick Schmidt (Barnsley) right footed shot from the centre of the box is blocked.
Attempt missed. Bambo Diaby (Barnsley) header from very close range is high and wide to the right. Assisted by Alex Mowatt with a cross following a corner.
Corner, Barnsley. Conceded by Pedro Pereira.
Attempt saved. Cauley Woodrow (Barnsley) right footed shot from the centre of the box is saved in the centre of the goal.
Corner, Barnsley. Conceded by Han-Noah Massengo.
Offside, Bristol City. Tommy Rowe tries a through ball, but Antoine Semenyo is caught offside.
Attempt blocked. Cauley Woodrow (Barnsley) right footed shot from outside the box is blocked. Assisted by Patrick Schmidt.
Luke Thomas (Barnsley) is shown the yellow card for a bad foul.
Foul by Luke Thomas (Barnsley).
Han-Noah Massengo (Bristol City) wins a free kick on the right wing.
Substitution, Barnsley. Elliot Simoes replaces Jacob Brown.
Attempt blocked. Antoine Semenyo (Bristol City) left footed shot from outside the box is blocked.
Attempt blocked. Aapo Halme (Barnsley) right footed shot from outside the box is blocked. Assisted by Jacob Brown.
Offside, Bristol City. Nathan Baker tries a through ball, but Han-Noah Massengo is caught offside.
Goal! Barnsley 1, Bristol City 2. Aapo Halme (Barnsley) header from the centre of the box to the bottom right corner. Assisted by Alex Mowatt with a cross following a corner.
Corner, Barnsley. Conceded by Tomas Kalas.
Attempt blocked. Cauley Woodrow (Barnsley) right footed shot from the left side of the box is blocked. Assisted by Toby Sibbick.