Substitute Chris Erskine scored the second of two last-minute goals as Partick came from behind to beat Queens Park 5-4 in the second round of the Ramsdens Cup.
Queens Park took the lead through Lawrence Shankland before Partick's Aaron Sinclair made it 1-1 on the 34-minute mark.
Christie Elliot gave the visitors the lead going into half-time but the best was yet to come.
Jamie Longworth equalised for Queens Park shortly after the break before Erskine gave the lead back to Partick with his first goal of the night.
The home side then scored twice in quick succession through Anthony Quinn and Richard Little, and with just five minutes to go, their place in the next round looked safe.
However, the game looked set for extra time when Partick's Stuart Bannigan equalised in the last minute and Erskine broke Queens Park's hearts with a dramatic winner.