Two late goals from Neil Gauld completed a stunning comeback as Inverurie Loco Works came back from three goals down to draw 3-3 with Arbroath at Harlaw Park.
The visitors took the lead from the penalty spot after just five minutes. Neil McLean brought down Steven Doris before he stepped up to convert the kick himself.
Paul Currie doubled the advantage on 23 minutes, producing a fine curled effort from the edge after a good knock down from Derek Holmes.
Victory looked all but ensured minutes before the hour-mark when Holmes, again the provider, set up Darren Gribben for a simple finish inside the six-yard box.
But the hosts pulled a goal back after 67 minutes through Clark Bain, who was well placed to convert Jamie Michie's cross.
Gauld pulled another back from close range four minutes from time before Bain played him through to ensure a replay in the final minute.