Teenage striker Danny Rose's first senior goal enabled Barnsley to clinch a last-gasp FA Cup third-round win against visitors Burnley.
Rose, 19, netted the winner for the managerless Tykes just three minutes after coming on as a substitute.
The Clarets looked set to hold out for a hard-earned replay after playing a large portion of the all-Championship match with 10 men.
Tykes' former triumph
Barnsley won the FA Cup in 1912, beating West Bromwich Albion 1-0 in a replay.
Brian Stock was sent off for his second bookable offence after 36 minutes.
An uneventful first half-hour was punctuated by Stock and Marlon Harewood tangling in an off-the-ball incident which saw both players booked as result.
Burnley were then reduced to 10 men eight minutes before the break when Stock earned a second yellow card for a late challenge on Jim O'Brien.
Barnsley took full advantage of the extra man as they dominated possession after that, but were let down by poor finishing.
Stephen Dawson dragged his shot wide before the midfielder failed to make the most of another chance when he fired over following some patient build-up play on the left.
It looked as though a replay was going to be needed to decide the tie but the winning goal finally arrived in the 85th minute.
David Perkins's free-kick was pushed onto the bar by Brian Jensen and substitute Rose was on hand to bundle the ball into the net.
Barnsley caretaker manager David Flitcroft said:
"We deserved the result, there's no doubt about that.
"I was made up for Danny Rose getting the winning goal, he's somebody who will score goals for this football club and today he's got a real important one.
"This boy, once he grows into his body, he's going to be some player and some goal-scorer for this football club."
Burnley boss Sean Dyche said:
"It was inflicted out of our hands today.
"We were in control of the game and not even at our best but still in control up until the sending off and, to be honest, contained the game well, even after the sending off.
"I'm convinced if we're 11 v 11 we go on and win the game."
- 01 Steele
- 03 Golbourne
- 15 McNulty Booked
- 25 Cranie
- 33 Kennedy (Cywka - 68' )
- 34 Stones
- 07 Dawson
- 08 O'Brien
- 11 Perkins
- 13 Dagnall (Rose - 82' )
- 16 Harewood Booked (Noble-Lazarus - 85' )
- 12 Alnwick
- 02 Hassell
- 06 Foster
- 19 Cywka
- 23 Etuhu
- 24 Noble-Lazarus
- 32 Rose
- 12 Jensen
- 02 Trippier
- 03 Lafferty
- 04 Duff (Bartley - 83' )
- 05 Shackell
- 07 Wallace (Richards - 69' )
- 08 Marney Booked
- 22 Stock Dismissed after an earlier booking
- 26 Treacy (Edgar - 46' )
- 09 Vokes
- 14 Ings
- 01 Grant
- 15 Edgar
- 16 O'Neill
- 11 Stanislas
- 20 Bartley
- 21 Richards
- 39 Fletcher