Gutsy Alfreton Town overcame the odds to stun Wrexham in the FA Cup first round at the Racecourse Ground.
The hosts went ahead through Neil Ashton's early penalty, but Paul Clayton levelled from close range.
Joslain Mayebi was sent off for elbowing Leigh Franks and Dan Bradley put the visitors ahead from the spot before he was also red-carded.
Despite Danny Wright's effort, Ben Tomlinson struck twice for the Reds to secure victory, before he also saw red.
VIEWS FROM THE DRESSING ROOM
Wrexham boss Andy Morrell: "I thought we started really brightly. We were right at them, right on top of them, which is what we've been looking at recently.
"We had a great start, 1-0 up, and then, the first mistake - it's bounced off Jossie [goalkeeper Joslain Myebi]; nobody's helped him out and it sort of knocked us a little bit.
"But we were still in the game, doing alright and then Jossie goes and does something [is sent off]… but it changes the game.
"And he's out for three games now and we've only got a small squad and it kills it.
"And we've got four lads on four yellows as well so we've got to be so careful."