Sheffield Wednesday striker Chris O'Grady dumped Premier League hopefuls West Ham out of the FA Cup with a thumping late strike at Hillsborough.
O'Grady slammed past Hammers keeper Ruud Boffin from 12 yards with only three minutes of normal time remaining.
Gary Megson's side were also indebted to goalkeeper Nicky Weaver, who saved Sam Baldock's second-half penalty.
Weaver also tipped a Baldock strike on to the post before O'Grady put the League One side into round four.
Both clubs have a rich history in the competition having lifted the famous trophy on six occasions between them, but there has been little for either set of fans to cheer in recent years.
Wednesday have plummeted to the third tier and the Hammers are dealing with life in the Championship - only six years after a penalty shoot-out defeat by Liverpool in the 2006 final.
With both sides sitting second in their respective divisions, Megson and Hammers boss Sam Allardyce have admitted that winning promotion is their main priority, though the Owls manager will be proud of his team's display against the Championship high-fliers.
However, Allardyce will be left ruing Baldock's failure to convert from 12 yards before Weaver's fingertip save pushed the former MK Dons striker's angled shot onto the woodwork.
Having used the game to give run-outs to several of his fringe players, Allardyce may not have been surprised to see a lack of fluency from his much-changed team in the first half.
And his side should have been behind when Owls attacker Jermaine Johnson spurned a golden opportunity for the hosts.
The Jamaican did everything right as he cut inside the West Ham defence but, as stand-in Hammers keeper Boffin went to ground, he somehow missed the target with the goal at his mercy.
Wednesday were enjoying particular success down the right flank with James Tavernier, on loan from Newcastle, testing the credentials of West Ham's 17-year-old left-back Dan Potts.
Tavernier fashioned the first chance of the game when he flashed a shot across Boffin's goal and then beat Potts, son of former Hammers captain Steve, to whip in a right-wing cross which just evaded O'Grady.
But the much-changed visitors did have plenty of possession with Jack Collison providing their impetus. The Wales midfielder broke forward to create his team's best chance as Sears looped a three-yard header over Weaver's goal shortly before the break.
The Hammers, who won only one of their five league games during December, returned to form with a 1-0 win at Coventry last weekend.
However, there was a lack of cohesion from their makeshift side and they created little until Winston Reid tumbled under the challenge of Reda Johnson in the Owls box with referee Keith Stroud immediately pointing to the spot.
Baldock, who has failed to score in his last nine games, could not convert before O'Grady lashed home when alone in the Hammers box.
Wednesday defender Julian Bennett had been stretchered off after a nasty-looking collision and it meant there was 11 minutes of injury-time for West Ham to find a leveller.
But the Owls hung on as Megson won the battle of the former Bolton bosses.
Sheffield Wednesday boss Gary Megson said: "We are all pleased when we get a result and we all suffer as one when we don't.
"This is a good afternoon for us, but another game at Hillsborough when we don't lose.
"We don't think so much about the opposition, we just want to keep the run going for as long as we can."
West Ham manager Sam Allardyce added: "We did everything right apart from not finishing our chances and making a basic error that cost us the tie.
"The changes we made weren't the problem. The problem was not finishing the chances we had, the biggest one being the penalty."