Wonderful late finishes from Zidane Iqbal and Lyall Cameron earned Dundee United a Scottish Premiership victory at Pittodrie as Aberdeen fell away after taking a first-half lead.
The visitors dominated the second half but had been let down by their decision-making in front of goal until a couple of moments of magic from the midfield duo.
Iqbal curled a shot into the top corner from 22 yards before Cameron lashed in the decisive goal in stoppage time.
Aberdeen, who gave a first start to 15-year-old Andrew Fasanya, had gone ahead on 19 minutes when Ante Palaversa slammed a penalty low into the corner following a clip on Findlay Marshall from Mehdi Merghem.
Dylan Tait had wasted a golden chance to give United an early lead when he somehow hit the post with a close-range header after being left all alone from a corner.
The visitors built some momentum late in the first half and Marius Muller had to look lively to save from Zac Sapsford and Jesse Randall.
United continued that threat after the interval, with Cameron wasteful on two occasions and Tait scuffing wide.
Aberdeen needed a change of goalkeeper when Muller aggravated an apparent strain when pushing away a strike from Iqbal.
Replacement Daniel Klein could then do nothing but watch as Iqbal found the top corner with a sumptuous curling effort.
And Klein was beaten again as Cameron raced clear, twisting away from a challenge before crashing the ball home.
A first win at Pittodrie since 2014 was the perfect response to conceding 10 goals in two successive losses and nudges United up to fifth place, with Dons manager Mario Frick left to ponder a third defeat in five games.