Aberdeen substitute Scott Vernon snatched a dramatic 93rd-minute winner against Dunfermline to send the Dons into the fourth round of the Scottish Communities Cup.
The tie appeared destined to be heading to extra-time but the marksman bundled in Niall McGinn's teasing delivery with seconds left.
The visitors had been booed off at the interval following a first half dominated by the First Division side. But after some resolute defending and fine goalkeeping from Jamie Langfield, Aberdeen snatched the win after a more competitive display after the break.
- Scott Vernon