Shaun Maloney and Jordi Gómez missed the decisive penalties as Wigan Athletic were dumped out of the Capital One Cup by League Two Bradford City at the DW Stadium.
The Bantams, fifth in the bottom tier of the Football League, and Roberto Martínez's side are separated by 58 league places but they gave the 5,000 away fans who had made the trip across the Pennines plenty to cheer by taking the game into extra time.
Martínez made nine changes to his first XI. The goalkeeper Ali al-Habsi and the defender Iván Ramis, who had the captain's armband, were the only survivors from Saturday's Premier League win over West Ham, with first-time Latics starters Fraser Fyvie and Danny Redmond among those coming into the team.
Arouna Koné, Shaun Maloney and Jean Beausejour were all named as substitutes, while the visitors' side also showed a considerable reshuffle, with manager Phil Parkinson making six adjustments from their League Two defeat to Burton.
Wigan believed they had opened the scoring after 10 minutes when Ramis nodded home Gómez's free-kick. The celebrations were cut short, however, by the assistant referee's flag.
Four minutes later it took a fine save from Matt Duke to deny Mauro Boselli, but from that point Bradford established a foothold in the game.
Nakhi Wells, who has eight goals in 10 starts in the league already this season, was close to intercepting Ramis's weak backpass, then volleyed over from James Meredith's cross. Before half-time City were denied a possible penalty when Stephen Darby went down in the area, and there was still time for Gómez to test Duke once more with a first-time volley.
The second half began with few clear-cut chances, but 15 minutes from full time Zavon Hines missed a fine chance to give the visitors the lead. The former West Ham man thrust through the Wigan back four but saw his shot well saved at his near post by Habsi.
Ben Watson then stung Duke's palms once more with a long-range effort and the goalkeeper had to gather another Boselli effort as the seconds ticked down.
Four minutes of stoppage time meant Bradford had to survive several further scares, but the League Two side stood firm to take the tie the full distance.
Duke was again the busier goalkeeper in extra-time, but Boselli and Gómez profligacy front of goal meant that the game would be decided from the spot.
The visitors were faultless, but Maloney blasted Wigan's third penalty over the bar. Alan Connell cranked up the pressure by beating Al Habsi with Bradford's fourth and when Gómez's effort was saved by Duke, Bradford were in the quarter-finals.