Brian Graham's 99th and 100th goals for Partick Thistle set up a Scottish Premiership play-off semi-final against Livingston as the Jags came from behind in stunning style in their quarter-final tie with Ayr United.
Having suffered a 1-0 defeat at Firhill on Tuesday, Thistle knew they had to win at Somerset Park to at least force extra time.
An extra 30 minutes of football seemed destined as neither side looked likely to score what would be a tie winner until the veteran striker, captain and interim co-manager sparked wild scenes in the away end after 88 minutes.
He had done so too, early doors, when he levelled the aggregate score after six minutes in Ayrshire.
Despite a strong start from Scott Brown's hosts, 17-year-old debutant Jamie Low curled a cracking corner on to the head of Graham to silence Somerset.
As it was three days previously, the quarter-final play-off was a cagey affair with the effects of a gruelling season playing a part. Until the final quarter.
With Livingston in sight - and a desire from both to not force extra-time - both had a go in the latter stages.
Ayr mustered up a bounty of half chances, due in no small part to the introduction of winger Jay Henderson, while Ben Stanway came agonisingly close to firing the Jags into next week's semi-final ties.
While that was a sore one, the next strike was a sheer euphoric one.
The 37-year-old Graham found space to the left of Josh Clarke’s goal to slice a shot beyond the on-loan Celtic goalkeeper and spark the Partick celebrations, which spilled over on to the pitch.
Thistle host David Martindale’s Livingston on Tuesday before travelling to West Lothian next Friday.