AFC Wimbledon moved one step closer to booking a potential meeting with MK Dons after two goals from Charlie Strutton guided the hosts to a narrow 4-3 victory in extra-time over 10-man York in an FA Cup first-round replay at Kingsmeadow.
York were given the early lead when host goalkeeper Seb Brown put through his own net, but Strutton pulled Wimbledon into the lead with strikes on 34 and 78 minutes respectively. York had refused to crumble despite Scott Kerr's dismissal for a second yellow on 35 minutes, as substitute Jamie Reed equalised in the final minute of normal time.
However, it proved to be in vain for the visitors in extra-time as quick goals from Byron Harrison and Jack Midson sealed a dramatic victory for Wimbledon.
The visitors went ahead in the 22nd minute when Wimbledon goalkeeper Seb Brown fluffed Daniel Kearns' cross and pushed the ball into his own net.
The Dons were level 12 minutes later when Strutton bent the ball into the net following a pass from Rashid Yussuff, who was subsequently felled in a high, rash challenge from Kerr.
It was Kerr's second yellow, condemning York to play with 10 men for 55 minutes. With 12 minutes to go Strutton scored his second, getting in front of a hesitant York defence and firing home after Michael Ingham had parried his initial shot.
York equalised in the last minute, Reed taking the ball down with his right foot before coolly slotting home a minute after coming on as a substitute.
However, two goals in two minutes put the hosts firmly in control in extra-time. The first, seven minutes into the extra 30, saw York defender Clarke Carlisle misjudge Warren Cummings' cross from the left and the ball ricocheted in off Byron Harrison.
Stretton then turned provider, heading back across goal to Jack Midson in the six-yard box and he had a simple job of turning the ball across the line.
Reed bundled the ball home with two minutes to go but Wimbledon held on to book a second-round tie with MK Dons should the npower League One side beat Cambridge City on Tuesday.