Substitute Sandy Cunningham headed the winner three minutes into stoppage time as Albion edged out 10-man Whitehill Welfare to seal a William Hill Scottish Cup third-round tie away to Turriff United.
The teenager got across his marker to convert a fine cross from fellow sub Graham Weir as extra time loomed at Ferguson Park in the Midlothian village of Rosewell.
Jordan White, who came close to scoring early on, had given Greig McDonald’s men the lead on the half-hour mark when he tucked the ball home from close range after Phil Johnston’s effort had been pushed on to the post by keeper Ryan McGurk.
The Binos failed to build on White’s fourth goal of the season and Welfare deservedly levelled in 44 minutes when Jamie Bishop headed a corner into his own net.
Mickey Lawson’s men also missed two huge chances in the first half. Powerful striker Wayne McIntosh looked certain to score when a defensive mix-up left him in the clear but his shot was too straight and David Crawford made a vital block.
McIntosh then played in Stuart McLaughlin as the Stirling defence were sliced open again but he blazed over the bar at the back post.
Mickey Lawson’s men equalised through Bishop’s own goal and started the second period strongly but we began to enjoy more and more of the ball, albeit without creating much in front of goal.
The Lowland League side had penalty appeals for handball turned down by referee Colin Steven and the home fans were unhappy again when defender Gareth Thom was sent off for a foul on Danny Ashe near the halfway line with 15 minutes remaining.
Stirling at last began to create openings and White and Forsyth – the latter playing in a midfield role – both came close before Cunningham, who scored his first senior goal against Queen’s Park in August, grabbed the winner deep into injury time.
Whitehill Welfare: McGurk, McGlashan, Thom, Bruce, W Kidd, Robertson (Somerville 73), Manson, A Kidd, McIntosh, McLaughlin (Martin 88), Sproule.
Subs (not used): Noon, Dolan, Shearer, Finnie, Young (GK).
Scorer: Bishop o.g 44
Stirling Albion: Crawford, Ashe, McAnespie, McClune, Bishop, Smith, Johnston (Cunningham 88), Forsyth, White, Fulton (Weir 67), Ferry.
Subs (not used): Coyne, McGeachie, Clark, Paton, Reidford (GK).
Scorers: White 30, Cunningham 90
Referee: Colin Steven