Supersub Danny Rose sent Mansfield into round three of the Checkatrade Trophy as they edged a goal fest against Carlisle United 3-2.
Krystian Pearce and Matt Green gave the visitors a half-time lead before Shaun Miller and Charlie Wyke levelled proceedings at Brunton Park.
But Rose sent the Stags into the third round with a ferocious strike after only being on the field for seven minutes.
After being battered in the league 5-2 by Carlisle last time out, Stags’ boss Steve Evans made three changes.
Trio James Baxendale, Ashley Hemmings and Chris Hamilton replaced the outgoing Pat Hoban, Oscar Gobern and Mitch Rose.
The visitors were great value for their two-goal lead at the break against a Keith Curle side that have tasted defeat just twice this term.
The hosts made the running early on with Jamie Devitt firing over before shot-stopper Scott Shearer sensational kept Alex McQueen out with a flying one-handed save.
After 14 minutes the visitors took the lead as Krystian Pearce’s looping header from Chris Clements’ free-kick evaded Max Crocombe.
Prolific marksman Matt Green then tapped in his ninth goal of the season after Lee Collins left him with barely anything to do from six yards.
Six minutes before the interval Baxendale put Shearer under pressure, with Reggie Lambe blocking Shearer’s clearance wide.
A sedate second-half sprung into life as the Stags were given a nervy 17 minutes to hold on.
Full-back Danny Grainger stormed clear down the wing to get a pinpoint cross away with Shaun Miller flicking his header past Shearer.
The hosts started to pile on the pressure and it told as Shearer charged for the ball and missed with Charlie Wyke - who scored a hat-trick against the Stags just over a week ago - equalising from a tight angle.
But the Stags snuck their way into round three late on when Rose sent the small travelling contingent in the crowd wild with a screamer from outside the box, finding the top corner from 25 yards from Kevan Hurst’s ball to him.
The draw will take place at 11.30am on Thursday live on Sky Sports News HQ.
CARLISLE: Crocombe, Gillesphey, Brisley, T. Miller, Joyce, Grainger, Lambe (Asamoah 71), McKee (Wright 45), McQueen (Wyke HT), Devitt, S. Miller. Subs not used: Gillespie, Ellis, Adams, Kennedy.
STAGS: Shearer, Collins, Bennett, Pearce, Benning, Hamilton, McGuire, Clements, Baxendale (D. Rose 79), Hemmings (Hurst 71), Green (Thomas 89). Subs not used: Jensen, Gobern, Iacovitti, Hakeem.
REFEREE: David Webb of Lancashire.
ATTENDANCE: Attendance: 1,126 (41 away).