Match ends, Aberdeen 0, Heart of Midlothian 1.
Abiola Dauda's fifth goal of the season was enough to give Hearts victory and send Aberdeen crashing to only a second home defeat of the campaign.
The Nigerian took advantage of a blunder by Dons keeper Adam Collin to give Robbie Neilson's side a third win this year against Derek McInnes' team.
Collin spilled Alim Ozturk's free-kick on a night when there were precious few clear-cut chances for either team.
The setback means Aberdeen cannot match last season's points tally of 75.
Amazingly both these teams will be in action in just seven weeks' time when the Europa League qualifiers get underway, nearly a fortnight before the European Championship final in France.

In the early exchanges it seemed like the Hearts players' minds were already on their short summer break with a real lethargy about their play.
There were no such problems for Aberdeen as they played with pace and an aggression McInnes felt they lacked when losing at Tynecastle in the Scottish Cup and Premiership earlier this year.
Niall McGinn and Jonny Hayes stretched the visitors in wide areas but the Dons struggled to capitalise with midfielder Kenny McLean forced to play up front while Adam Rooney and Simon Church sat out injured.
The Dons hogged the majority of possession and flashed a few inviting balls across the face of the penalty area but failed to create much in the way of clear scoring chances.
McGinn did try his best with a free-kick from a central position but it dipped too late to test Hearts' young goalkeeper Jack Hamilton.
It actually took Robbie Neilson's side fully 34 minutes to pose the first problem for the Dons defence when they finally strung some passes together in an attacking area.
The ball eventually broke back to Prince Buaben, who bent a 25-yard drive towards the left-hand post and Collin was forced into a full-length dive to push the effort to safety.
But the goalkeeper was badly at fault when he allowed Ozturk's free-kick to squirm into Dauda's path for the only goal of the game.
And Aberdeen - runners-up in the Premiership for a second year running - could not recover against third-placed Hearts.
Line-ups
Aberdeen
Formation 4-4-1-1
- 19Collin
- 2Logan
- 5Taylor
- 4Considine
- 3Shinnie
- 11Hayes
- 22JackBooked at 63mins
- 8FloodSubstituted forNuttallat 81'minutes
- 26McKennaSubstituted forSmithat 71'minutes
- 7McLean
- 10McGinn
Substitutes
- 6Reynolds
- 14Smith
- 15Robson
- 23Storie
- 27Wright
- 30Lennox
- 41Nuttall
Hearts
Formation 4-4-2
- 13Hamilton
- 2Paterson
- 5Ozturk
- 24Souttar
- 17OshaniwaBooked at 24mins
- 25DaudaSubstituted forReillyat 79'minutes
- 8Buaben
- 23Kitchen
- 44ZanattaSubstituted forNicholsonat 68'minutes
- 19Delgado LloriaSubstituted forMcGheeat 90'minutes
- 16Sutchuin-Djoum
Substitutes
- 1Alexander
- 11Nicholson
- 14Pallardo Gonzalez
- 20Reilly
- 22McGhee
- 28Smith
- 37Moore
- Referee:
- Andrew Dallas
- Attendance:
- 10,087
Match Stats
- Possession
- Home57%
- Away43%
- Shots
- Home8
- Away5
- Shots on Target
- Home1
- Away3
- Corners
- Home5
- Away2
- Fouls
- Home9
- Away13
Live Text
Post update
Post update
Attempt saved. Alim Ozturk (Heart of Midlothian) right footed shot from more than 35 yards is saved in the top centre of the goal.
Full Time
Second Half ends, Aberdeen 0, Heart of Midlothian 1.
Post update
Foul by Andrew Considine (Aberdeen).
Post update
Gavin Reilly (Heart of Midlothian) wins a free kick in the defensive half.
Substitution
Substitution, Heart of Midlothian. Jordan McGhee replaces Juanma.
Post update
Attempt blocked. Kenny McLean (Aberdeen) right footed shot from outside the box is blocked.
Post update
Foul by Ryan Jack (Aberdeen).
Post update
John Souttar (Heart of Midlothian) wins a free kick in the defensive half.
Post update
Corner, Aberdeen. Conceded by Juwon Oshaniwa.
Post update
Attempt blocked. Andrew Considine (Aberdeen) header from the centre of the box is blocked.
Post update
Corner, Aberdeen. Conceded by Callum Paterson.
Post update
Graeme Shinnie (Aberdeen) wins a free kick in the defensive half.
Post update
Foul by Callum Paterson (Heart of Midlothian).
Post update
Graeme Shinnie (Aberdeen) wins a free kick on the left wing.
Post update
Foul by Prince Buaben (Heart of Midlothian).
Substitution
Substitution, Aberdeen. Joe Nuttall replaces Willo Flood.
Post update
Attempt missed. Callum Paterson (Heart of Midlothian) right footed shot from outside the box is close, but misses to the left.
Substitution
Substitution, Heart of Midlothian. Gavin Reilly replaces Abiola Dauda.
Post update
Kenny McLean (Aberdeen) wins a free kick on the right wing.