Armthorpe Welfare came from two goals down to beat Ashton Town in the FA Vase.
Brian Johnston’s side looked like they were suffering a cup hangover after bowing out of the FA Cup a week previously.
But three second half goals inside five minutes saw Welfare turn Saturday’s second qualifying round tie on its head.
Danny Griffiths gave the visitors a 25th minute lead, beating Will Biggs at the second attempt after being played in on goal.
Three minutes later Marcus Cusani doubled the advantage, flicking the ball over Biggs following a free-kick from deep.
Joe Lumsden swept home Stuart Preston’s low cross in the 68th minute to haul Welfare back in the tie and less than 60 seconds later they were level when Tom McLaughlin headed home Keiran Benson’s cross.
Lumsden was involved in the third on 71 minutes, combining with Craig Aspinall whose cross was converted by Preston.
Three minutes after going 3-2 up Lumsden was shown a straight red after retaliating to a kick that the match officials failed to spot.
However, the instigator was later sent off himself for a second yellow card as Welfare held out to book took their place in the next round.
Maltby Main also progressed to the next round after beating NCEL Division One opponents Bottesford Town 2-0 at Muglet Lane.
Goals from Dean Conway and Ben Thornton ended a run of four defeats on the spin.
Rossington Main bowed out after a 3-1 defeat at Northwich Manchester Villa despite taking an early lead.
Matt Bradley put Rossington ahead in the 11th minute but goals from Yousif Yousif (2) and John Grant sent Villa through.
n Armthorpe have been drawn away to Guisborough Town in the first round of the FA Vase. Maltby go to Stokesley Sports Club.
n Maltby and Rossington turn their attention to the Sheffield Senior Cup next week. The Miners host County Senior League side Jubilee Sports on Wednesday, while Rossington are at home to Bentley Colliery.