Championship side Huddersfield came from behind to stun Premier League Burnley and reach the FA Cup fourth round.
Matty Pearson completed the turnaround for the Terriers with a close-range header three minutes from time.
Jay Rodriguez had broken the deadlock in the first half with a firm header from Ashley Westwood's cross.
The lively Josh Koroma equalised for Huddersfield after half-time before Pearson's late winner.
Burnley were without manager Sean Dyche and a number of first-team players because of Covid-19, but they were still able to field a strong side featuring the likes of Rodriguez, Chris Wood, James Tarkowski and Ben Mee.
Huddersfield, who made seven changes to the team that held in-form Blackburn Rovers to a goalless draw in their last Championship game, made the livelier start at Turf Moor, with Koroma testing fit-again Nick Pope from the edge of the box early on.
But Burnley grew into the game as the first half wore on and Terriers goalkeeper Ryan Schofield produced a fine one-handed save to prevent Rodriguez's low effort from nestling in the bottom corner.
The 32-year-old forward made no mistake moments later, sending a powerful, well-placed header past Schofield from Westwood's magnificent curling pass.
Huddersfield suffered a further blow when Schofield was forced off with a shoulder injury following a collision with Wood, with teenage back-up goalkeeper Nicholas Bilokapic replacing the 22-year-old in goal.
Jon Russell sent a header crashing off the woodwork in first-half stoppage time, but Carlos Corberan's side picked up where they left off in the second half and forced a deserved equaliser when Sorba Thomas' low cross found Koroma, who was left with a simple finish at the far post.
Pope produced a sensational stop to keep out Duane Holmes' goal-bound header, but Pearson was on hand to nod Thomas' corner inside the far post and send the Yorkshire club into the fourth round for the first time since 2018.
Line-ups
Burnley
Formation 4-4-2
1Pope
26Bardsley5Tarkowski6Mee2Lowton
8Brownhill16Stephens18Westwood17Lennon
19Rodriguez9Wood
1Pope26Bardsley5Tarkowski6Mee2Lowton8Brownhill16StephensSubstituted forDodgsonat 82'minutes18Westwood17Lennon19Rodriguez9WoodSubstituted forCorkat 45'minutesSubstitutes
4Cork13Hennessey28Long37Thomas39Dodgson55Helm56McGlynnHuddersfield
Formation 3-4-2-1
31Schofield
4Pearson32Lees23Sarr
2Ávila6Hogg37Russell14Ruffels
24Sinani10Koroma
9Rhodes
31SchofieldSubstituted forBilokapicat 40'minutes4Pearson32Lees23Sarr2ÁvilaSubstituted forThomasat 69'minutes6HoggSubstituted forO'Brienat 57'minutes37Russell14Ruffels24SinaniSubstituted forHolmesat 59'minutes10Koroma9RhodesSubstituted forWardat 70'minutesSubstitutes
3Toffolo8O'Brien15High16Thomas19Holmes20Turton22Campbell25Ward42BilokapicLive Text
Match ends, Burnley 1, Huddersfield Town 2.
Second Half ends, Burnley 1, Huddersfield Town 2.
Attempt missed. James Tarkowski (Burnley) header from very close range is too high following a set piece situation.
Foul by Jonathan Russell (Huddersfield Town).
Jack Cork (Burnley) wins a free kick in the defensive half.
Goal! Burnley 1, Huddersfield Town 2. Matty Pearson (Huddersfield Town) header from very close range to the top right corner. Assisted by Sorba Thomas with a cross following a corner.
Corner, Huddersfield Town. Conceded by James Tarkowski.
Corner, Huddersfield Town. Conceded by James Tarkowski.
Attempt missed. James Tarkowski (Burnley) header from the centre of the box is close, but misses to the left following a corner.
Corner, Burnley. Conceded by Josh Koroma.
Substitution, Burnley. Owen Dodgson replaces Dale Stephens.
Foul by Sorba Thomas (Huddersfield Town).
Dale Stephens (Burnley) wins a free kick in the defensive half.
Attempt missed. Danny Ward (Huddersfield Town) header from the centre of the box is too high following a corner.
Corner, Huddersfield Town. Conceded by James Tarkowski.
Attempt blocked. Josh Koroma (Huddersfield Town) left footed shot from the left side of the box is blocked.
Goal! Burnley 1, Huddersfield Town 1. Josh Koroma (Huddersfield Town) left footed shot from the left side of the six yard box to the bottom left corner. Assisted by Sorba Thomas.
Substitution, Huddersfield Town. Danny Ward replaces Jordan Rhodes.
Substitution, Huddersfield Town. Sorba Thomas replaces Pipa.
Attempt missed. Aaron Lennon (Burnley) right footed shot from outside the box is too high.
Watch five third-round ties live across the BBC including Manchester United v Aston Villa - plus highlights from every match (UK only). Read the full details here.