Match ends, AFC Wimbledon 3, York City 1.
AFC Wimbledon came from behind to book a place in the FA Cup second round thanks to a late brace from Matt Tubbs.
York took a fifth-minute lead through Wes Fletcher's glorious 30-yard volley and held the Dons until the break.
Jack Smith found the equaliser with a well-directed drive after an Adebayo Akinfenwa knockdown, before striker Tubbs sprung into life to win the game.
Akinfenwa teed up Tubbs for his first and Tubbs made it 3-1 after York keeper Michael Ingham came up for a corner.
Wimbledon, who had drawn 1-1 at York in the original tie, will travel to Wycombe Wanderers in round two.
AFC Wimbledon manager Neal Ardley told BBC London 94.9:
"Any win in the FA Cup is a great win.
"In the first half we weren't aggressive enough in the way we played and I think a few of them were shocked when they came in.
"At half-time I told them a few home truths and that they had 15 minutes to liven up or I was changing the shape and bringing on some subs.
"We'd love to get into the third round. After what Wycombe did to us there in the league, we have a score to settle."
York City manager Russ Wilcox told BBC Radio York:
"I'm very disappointed. Chance-wise in the game, we created the most chances.
"But you could see the pressure, We couldn't deal with the pressure, we didn't do the basics right again in both boxes. I'm very frustrated.
"I know money is very tight, but we can't keep ticking along with the same personnel. We need to add some quality to the group if we can.
"It's a conversation I'll be having."
- 7FrancombSubstituted forMooreat 61'minutesBooked at 90mins
- 11RiggBooked at 26minsSubstituted forAzeezat 61'minutes
- 10AkinfenwaBooked at 31mins
- 14MontroseSubstituted forPlattat 78'minutes
- 9FletcherSubstituted forCarsonat 64'minutes
- Peter Bankes
- Shots on Target
Second Half ends, AFC Wimbledon 3, York City 1.
Matt Tubbs (AFC Wimbledon) wins a free kick in the defensive half.
Foul by Russell Penn (York City).
Corner, York City. Conceded by Alan Bennett.
Goal! AFC Wimbledon 3, York City 1. Matt Tubbs (AFC Wimbledon) right footed shot from outside the box to the centre of the goal.
Corner, York City. Conceded by Barry Fuller.
Sammy Moore (AFC Wimbledon) is shown the yellow card.
Hand ball by Sammy Moore (AFC Wimbledon).
Attempt saved. Jake Hyde (York City) header from the centre of the box is saved in the centre of the goal.
Foul by Adebayo Azeez (AFC Wimbledon).
Marvin McCoy (York City) wins a free kick on the right wing.
Corner, AFC Wimbledon. Conceded by Marvin McCoy.
Attempt blocked. Adebayo Akinfenwa (AFC Wimbledon) header from the left side of the six yard box is blocked.
Attempt missed. Jake Hyde (York City) right footed shot from the right side of the box is close, but misses the top right corner.
Goal! AFC Wimbledon 2, York City 1. Matt Tubbs (AFC Wimbledon) right footed shot from the centre of the box to the bottom right corner.
Substitution, York City. Tom Platt replaces Lewis Montrose.
Attempt missed. Adebayo Azeez (AFC Wimbledon) right footed shot from outside the box is just a bit too high.
Corner, AFC Wimbledon. Conceded by Stéphane Zubar.
Attempt saved. Jake Hyde (York City) right footed shot from the centre of the box is saved in the bottom right corner.