South Africa's Aaron Mokoena scored in the final minute of extra-time as crisis club Portsmouth came from behind to beat Coventry City 2-1 in an FA Cup third round replay on Tuesday.
Victory gave Portsmouth, bottom of the Premier League and beset by financial problems, a fourth round tie at home to top-flight rivals Sunderland.
Both of Pompey's goals were heartbreaking for second-tier Coventry, coming in the last minute of normal time and in time added on at the end of the second half of extra-time.
The 2008 FA Cup winners were behind for most of the match after Coventry striker Leon Best fired the home side, who play in the second division Championship, into a 22nd minute lead.
And it seemed cash-strapped Portsmouth, whose officials met earlier Tuesday with Premier League chiefs in a bid to lift the club's transfer embargo, were about to exit the FA Cup until Coventry's Stephen Wright headed into his own net shortly before the end of normal time at the Ricoh Arena.
The tie was heading for a penalty shoot-out until defender Mokoena headed in the winner with virtually the last act of the game.
Earlier, Barry Ferguson's first goal for Birmingham saw them beat Nottingham Forest 1-0 in a third round replay at St Andrews on to set-up a fourth round tie away to Premier League rivals Everton.
Scotland midfielder Ferguson struck from 15 yards shortly after the hour mark as Birmingham saw off their in-form Championship high-flyers Forest and extended their unbeaten run in all competitions to 14 matches.
In other third round replays second division Derby beat third tier Millwall 5-3 on penalties after the match at Pride Park finished extra-time at 1-1.
The deadlock was eventually broken when Steve Morison gave visitors Millwall a 108th minute lead with a close range finish before Derby equalised soon afterwards through Steve Davies's lob.
Derby goalkeeper Stephen Bywater saved from Danny Schofield in the shoot-out before Dean Moxey sealed the Rams' place in the fourth round.
Sheffield United almost blew a 3-0 lead away to Championship rivals QPR but held on for a 3-2 win at Loftus Road.
Lee Williamson had opened the scoring in the 19th minute and then two goals in three second-half minutes from Jamie Ward and Richard Cresswell left the Blades 3-0 up with 20 minutes left.
But Akos Buzsaky's penalty gave Rangers hope before Damion Stewart's goal two minutes from time set up a frantic finish.
In Tuesday's only third round match Bristol City's late equaliser secured a 1-1 draw against Championship rivals Cardiff.
Substitute Gavin Williams scored in the second minute of stoppage-time in blizzard conditions at Ashton Gate.
Cardiff looked to be going through when Michael Chopra shot into an empty net from the right touchline in the 76th minute after a mishit clearance by City goalkeeper Dean Gerken, who had raced out of his goal.
Wednesday's third round replays see Premier League Liverpool, looking to salvage a so-far disappointing season, at home to second-tier Reading while Championship leaders Newcastle face divisional strugglers Plymouth.