Dundee United dented Aberdeen's Champions League ambitions in a six-goal thriller at Pittodrie.
Noel Hunt (left) congratulates Dundee United team-mate Greg Cameron
Five goals were scored in the opening 17 minutes in a sensational first half with United's Jon Daly netting from the penalty spot inside 60 seconds.
Aberdeen equalised through Steve Lovell, and Darren Mackie gave the Dons the lead from the spot.
But a Noel Hunt header and a Greg Cameron double either side of half-time handed United an impressive win.
In a whirlwind start at Pittodrie, Dundee United took the lead inside the opening minute when Michael Hart hauled down Collin Samuel as the striker burst into the Dons box.
Jon Daly calmly converted the resulting spot kick low past Jamie Langfield before the crowd had settled into their seats.
But Aberdeen drew level within minutes when Lee Wilkie fouled Darren Mackie 25 yards from goal.
Chris Clark knocked the free kick into the path of Scott Severin whose powerful drive took a wicked deflection off Steve Lovell's heel leaving Derek Stillie helpless.
Lovell claimed it for his eighth goal of the season.
Then Mackie put Aberdeen ahead for the first time from the penalty spot after David McCracken brought down Richard Foster.
But the Dons lead didn't last long with Noel Whelan heading the equaliser for Dundee United from Sean Dillon's whipped cross from the left.
Darren Mackie put Aberdeen 2-1 in front after 10 minutes
Aberdeen continued to look extremely shaky in defence and amazingly, with only 17 minutes on the clock, the visitors scored a third goal.
Greg Cameron, who came into the United team for the suspended Barry Robson, grabbed his first goal for United to give them the lead for the second time.
A poor clearing header from Russell Anderson was seized upon by Cameron and the midfielder took one touch to control the ball before lashing a spectacular shot off the underside of the crossbar and in.
Aberdeen looked to respond through a Lovell shot which drew a smart save from Stillie.
Then it was United's turn to attack and a McCracken flick from Dillon's free-kick just eluded a stooping Wilkie as the ball ran out for a goal kick.
But the game was being played at a far less frantic pace than in the early stages, when clear-cut goalscoring opportunities seemed to arrive every other minute.
Brewster sent a speculative volley over the bar, but there were to be no further goals in a frenetic first half.
The Dons started positively in their quest to restore parity and from Foster's outswinging corner three minutes after the restart, Andrew Considine bulleted a header over the crossbar from 12 yards.
However, it was United who fashioned the next goal, when Hunt's drive from 20 yards struck Langfield's far post and Cameron was left with the simplest of tasks to score his second of the afternoon.
Aberdeen retaliated with a Clark shot which was saved by Stillie, before Daly was cautioned for a foul on Hart.
The Dons then switched Considine for Zander Diamond and almost pulled a goal back thanks to a fantastic passage of football involving Foster, Lovell and Brewster.
A neat passing exchange allowed Brewster a chance to shoot from 12 yards, but Stillie got his angles right in making a crucial stop.
Only a minute later Stillie had to make another fine save, this time to keep out a header from Lovell, before both teams made changes - Duff replacing Morgaro Gomis and Lee Miller coming on for Brewster.
But United held on to their two-goal lead to puncture Aberdeen's hopes of pipping Rangers to second-place and a place in the Champions League.
Aberdeen: Langfield, Hart, Anderson (Maguire 46), Considine (Diamond 61), Byrne, Mackie, Severin, Clark, Foster, Brewster (Miller 69), Lovell. Subs Not Used: Soutar, Touzani, Daniel Smith, Paton.
Booked: Brewster, Severin.
Goals: Lovell 8, Mackie 10 pen.
Dundee Utd: Stillie, Dillon, Wilkie, McCracken, Kalvenes, Samuel, Kerr, Gomis (Duff 66), Cameron, Hunt, Daly. Subs Not Used: McLean, Mair, Gardiner, Easton, Goodwillie, McCord.
Booked: Kalvenes, Kerr, Daly.
Goals: Daly 1 pen, Hunt 14, Cameron 17, 51.
Ref: M Tumilty (Scotland).