National League leaders Forest Green Rovers scored in the third minute of injury time to beat AFC Wimbledon 2-1 and reach the second round of the FA Cup.
Former Birmingham and West Brom midfielder Darren Carter had put Forest Green in front early on before Callum Kennedy grabbed his second goal in as many games midway through the first half for the Dons.
It looked as though the match was heading for a replay until Elliott Frear scored the winner for Rovers with a superb finish.
The visitors started brightly and were rewarded for their early dominance on six minutes when Keanu Marsh-Brown robbed the ball from Dannie Bulman before laying it off for Carter, who made no mistake with a left-footed shot from ten yards out.
The Dons reacted well to going behind and Kennedy levelled the scores on 24 minutes, killing captain Barry Fuller's cross dead before expertly placing the ball into the top left-hand corner.
In the second-half Rovers' Charlie Clough headed against the bar with the goal at his mercy and, at the other end, Sean Rigg forced Steve Arnold into a smart stop.
The game's defining moment came in the third minute of injury-time when Frear beat his man before fizzing a shot into the bottom corner from the edge of the box.