Dorchester Town missed the opportunity to reach the FA Cup third round despite a brave performance against Luton Town.
The Hatters took a two-goal lead, but the Dorset side launched a late comeback - but failed to find a second goal.
The Magpies get the chance of revenge when they face Luton for the third time within a week on Tuesday night - in the FA Trophy first round replay.
Andre Gray gave Luton the lead with a brilliant solo goal after a flowing dribble and quick shot.
Dorchester searched for an equaliser after the break, but Luton pushed further ahead thanks to Alex Lawless's strike from close range.
However, the Magpies didn't give up as Arran Pugh headed home to give Luton a nail-biting final twenty minutes.
Ben Watson, Jake Gosling and Sam Malsom were all denied by the impressive Luton goalkeeper Mark Tyler as the Hatters booked their spot in the third round.
Dorchester would have faced an away trip against Wolverhampton Wanderers in the FA Cup third round - but will now turn their attention to Tuesday's FA Trophy clash.