Mark Molesley netted a late winner as Conference side Aldershot dumped 2008 winners Portsmouth out of the FA Cup with a 1-0 victory at the Recreation Ground.
League Two outfit Pompey, who also reached the FA Cup final in 2010, were the victims of a giant-killing as the home side's battling performance was rewarded when Molesley scrambled the ball home after 81 minutes.
In a frantic opening to the first-round replay, the visitors could have taken the lead inside the first minute, but Chris Barker was on hand to clear Jack Whatmough's header off the line.
And the best chance of the opening 45 minutes fell to Portsmouth midway through the first half when Ricky Holmes did well on the left to dig out a cross before Jed Wallace's acrobatic volley was parried to safety by home goalkeeper Phil Smith.
Aldershot top scorer Brett Williams almost broke the deadlock after 71 minutes when his low strike was turned around the post by Paul Jones before Manny Oyeleke flashed a shot wide moments later.
Aldershot pressed forward and Jones had to be alert again to deny Dan Holman from 25 yards with 10 minutes remaining.
But the hosts got their reward from the resulting corner as Molesley bundled the ball over the line after an almighty scramble in the six-yard box to delight the home fans.
Aldershot manager Andy Scott told BBC Radio 5 Live: "I'm very proud of the team. We had a big crowd, on television, and the players took it in their stride. We play Rochdale at home next. It's an opportunity to get in the third-round hat and that's what we've been looking for.''