Jamie McGuire and Jamie Vardy scored as non-league Fleetwood beat Yeovil to secure a dream FA Cup third-round tie against local rivals Blackpool.
The visitors went ahead when McGuire fired a low shot in from 12 yards.
Yeovil's Bondz N'Gala and Fleetwood's Steve McNulty were sent off after the break before Vardy beat a defender and tucked in the second in stoppage time.
Afterwards, Fleetwood chairman Andy Pilley said the Blackpool tie would be "the game of the decades" for his club.
"Genuinely, hand on heart, we would prefer Blackpool at home to Manchester United, Manchester City, Tottenham, Liverpool, anybody," Pilley added.
"The hysteria this tie will cause for the next few weeks will be absolutely immense."
The hosts had made a promising start as Steve MacLean went close, while at the other end Mangan put his close-range header over the bar.
Fleetwood, who are second in the Blue Square Bet Premier, gradually took the ascendancy though and McGuire's second goal of the season, from Peter Till's right-wing cross, gave them a half-time lead.
Vardy then grazed the outside of the post in the second half as they continued to look the better side.
Gavin Williams had a chance to take the game to extra-time but put his header over the bar in the final minute, before Vardy made the game safe in injury time.
Yeovil, who had a two-goal lead going into the final nine minutes of the have now lost four times to non-league opposition since joining the Football League in 2003.
VIEWS FROM THE DRESSING ROOM
Yeovil Town manager Terry Skiverton told BBC Somerset:
"I think it would be easier to count what went right rather than wrong.
"Fleetwood played well. We've got to give them a bit of credit first.
"We had a couple of chances early on but I've got to apologise to the supporters for that first-half display. I think the occasion got the better of us."