Lee Mair scored an own goal to give former club Aberdeen victory as St Mirren ended their Scottish Premier League campaign with defeat.
The defender diverted Darren Mackie's volley past goalkeeper Mark Howard in the 27th minute.
Billy Mehmet twice came close to levelling before the interval.
St Mirren substitute Rory Loy tested keeper Jamie Langfield in the second half and the Dons' Charlie Mulgrew had a free-kick saved by Howard late on.
With St Mirren having clinched safety from relegation in the previous seven days and Aberdeen destined to finish ninth, the match offered an opportunity for several players to shine in perhaps their final appearance for their respective clubs.
Aberdeen manager Mark McGhee also used the game to give Dominic Gibson a debut and Clark Robertson his first start.
There were few clear-cut chances in the opening quarter, but Aberdeen almost handed St Mirren the lead when Mulgrew put his goalkeeper in some difficulty.
The defender's volleyed back-pass caught Langfield by surprise and the stopper had to scramble across his line to kick the ball away.
Having come close to an own goal, Mulgrew was given the chance to net at the other end with a free-kick and the defender's curling, dipping effort was beaten out at the near post by Howard.
The Dons continued to press and were rewarded when Robertson's cross was volleyed towards goal by Mackie and Mair's deflection wrong-footed Howard as the ball spun into the net.
St Mirren were inches away from an equaliser when Mehmet rose to meet Andy Dorman's cross and headed against the base of the post before the ball trickled out.
Richard Foster closes down St Mirren's Andy Dorman
Mehmet threatened again with a curling shot that Langfield got a hand to and there were no Saints players following in at the back post as the visitors cleared to safety.
The hosts continued with the same attacking line-up at the start of the second half and Dorman harried Jerel Ifil before having a shot blocked by the Aberdeen defender.
Graham Carey's fierce angled drive was claimed at the second attempt by Langfield, who then denied substitute Rory Loy twice in quick succession.
First, the on-loan Rangers striker darted in from the left and tried to place the ball into the net only for Langfield to get a strong hand behind the shot and the keeper then held Loy's header.
Howard stretched to tip another accurate Mulgrew free-kick over for a corner.
Craig Dargo, who had earlier replaced Steven Robb for Saints, fired a snapshot over in injury time.
Live text and stats
Saturday, 8 May 2010
Mair (og) 27
12 O'Donnell (Higdon 61)
14 Brady (Loy 61)
15 Robb (Dargo 61)
42 Robertson (Fyvie 57)
10 Mackie (Grassi 71)
45 Gibson (Paton 57)
Ref: O'ReillyAtt: 4,022
Attempts on target
Attempts off target
90:00+2:22 The referee signals the end of the game.
90:00+2:07 The referee blows for offside against Steven MacLean. Mark Howard restarts play with the free kick.
90:00+1:13 The offside flag is raised against Craig Dargo. Jamie Langfield restarts play with the free kick.
89:17 The ball is swung over by Rory Loy, Charlie Mulgrew manages to make a clearance.
88:46 A cross is delivered by Craig Dargo, save by Jamie Langfield.
87:08 Fraser Fyvie delivers the ball, blocked by John Potter. Short corner taken by Fraser Fyvie from the right by-line, The ball
is swung over by Charlie Mulgrew.
86:31 Jerel Ifil fouled by Michael Higdon, the ref awards a free kick. Direct free kick taken by Jamie Langfield.
84:46 Centre by David Barron, Jamie Langfield makes a save.
84:41 Graham Carey delivers the ball.
84:19 Andy Dorman crosses the ball, clearance by Charlie Mulgrew.
83:01 Foul by Steven Thomson on Fraser Fyvie, free kick awarded. Charlie Mulgrew takes the free kick.
80:52 Graham Carey sends in a cross, Richard Foster makes a clearance.
79:08 Charlie Mulgrew concedes a free kick for a foul on Andy Dorman. Free kick taken by John Potter.
77:33 Free kick awarded for a foul by Jerel Ifil on Rory Loy. Strike on goal comes in from Graham Carey from the free kick.
75:36 David Barron decides to take the corner short, Graham Carey takes a shot from just inside the penalty box which clears the
73:40 Free kick awarded for an unfair challenge on Fraser Fyvie by Graham Carey. Charlie Mulgrew produces a shot on goal direct
from the free kick, save by Mark Howard. Inswinging corner taken from the right by-line by Charlie Mulgrew.
72:57 Graham Carey delivers the ball, Michael Higdon takes a shot. Jamie Langfield makes a save.
69:48 Charlie Mulgrew restarts play with the free kick.
69:48 Substitution Darren Mackie leaves the field to be replaced by Davide Grassi.
69:48 Andy Dorman gives away a free kick for an unfair challenge on Fraser Fyvie.
67:14 The ball is delivered by Craig Dargo.
63:40 Steven MacLean concedes a free kick for a foul on Lee Mair. Direct free kick taken by Mark Howard.
63:17 Fraser Fyvie produces a left-footed shot from just outside the box that misses to the right of the goal.
62:35 Rory Loy takes a shot. Save by Jamie Langfield.
61:32 Rory Loy takes a shot. Jamie Langfield makes a save.
60:12 Substitution Craig Dargo replaces Steven Robb.
60:12 Substitution (St Mirren) makes a substitution, with Rory Loy coming on for Garry Brady.
60:12 Substitution Michael Higdon comes on in place of Stephen O'Donnell.
60:02 Mark Kerr produces a right-footed shot from the edge of the box and misses to the left of the goal.
58:25 Stuart Duff produces a cross.
56:36 Substitution Fraser Fyvie comes on in place of Clark Robertson.
56:36 Substitution Dominico Gibson leaves the field to be replaced by Michael Paton.
55:37 Graham Carey produces a drilled left-footed shot from 25 yards. Save by Jamie Langfield.
54:51 Outswinging corner taken from the left by-line by Graham Carey, save by Jamie Langfield.
53:11 Corner taken by Graham Carey played to the near post, Clark Robertson makes a clearance. Andy Dorman takes a inswinging corner
from the left by-line played to the near post.
52:53 The ball is crossed by Andy Dorman.
49:13 Billy Mehmet produces a cross, Charlie Mulgrew gets a block in. Corner taken by Graham Carey from the right by-line, Jamie
Langfield makes a save.
48:39 David Barron produces a cross, save made by Jamie Langfield.
47:41 Free kick awarded for a foul by Graham Carey on Stuart Duff. Free kick taken by Charlie Mulgrew.
47:24 The referee blows for offside against Billy Mehmet. Jamie Langfield restarts play with the free kick.
47:11 Andy Dorman takes a shot. Jamie Langfield makes a save.
45:01 The match restarts for the second half.
45:00+0:24 It is the end of the first-half.
43:56 Steven Thomson has an effort at goal from outside the penalty box missing to the wide right of the goal.
41:13 Steven Robb takes a shot. Save made by Jamie Langfield.
39:49 Billy Mehmet takes a shot. Save made by Jamie Langfield.
35:53 Short corner taken by David Barron from the right by-line, The ball is crossed by Graham Carey, save by Jamie Langfield.
35:17 Graham Carey crosses the ball.
31:32 Darren Mackie challenges Graham Carey unfairly and gives away a free kick. Free kick crossed left-footed by Graham Carey,
Richard Foster manages to make a clearance.
30:42 Billy Mehmet challenges Stuart Duff unfairly and gives away a free kick. Free kick taken by Stuart Duff.
28:37 A cross is delivered by Andy Dorman, Billy Mehmet has a headed effort at goal from deep inside the area missing to the right
of the goal.
27:38 Gary McDonald challenges Stephen O'Donnell unfairly and gives away a free kick. David Barron takes the free kick.
26:49 Assist on the goal came from Darren Mackie.
26:49 GOAL - Lee Mair:St Mirren 0 - 1 Aberdeen Lee Mair puts the ball into his own goal. St Mirren 0-1 Aberdeen.
26:08 Clark Robertson delivers the ball, Shot by Darren Mackie.
24:16 Centre by Stuart Duff.
22:11 Steven Robb concedes a free kick for a foul on Mark Kerr. Shot on goal comes in from Charlie Mulgrew from the free kick, save
by Mark Howard. Inswinging corner taken from the right by-line by Charlie Mulgrew, Lee Mair makes a clearance.
20:54 Graham Carey sends in a cross, Charlie Mulgrew makes a clearance.
19:22 Steven Robb produces a cross, clearance by Gary McDonald.
15:10 Dominico Gibson takes a shot. Mark Howard makes a save.
13:16 Dominico Gibson challenges Mark Howard unfairly and gives away a free kick. Direct free kick taken by Mark Howard.
11:17 Stuart Duff delivers the ball, clearance made by David Barron.
10:41 The ball is swung over by Graham Carey.
8:15 Outswinging corner taken by Charlie Mulgrew from the left by-line.
7:16 The ball is crossed by Steven Robb, clearance made by Charlie Mulgrew.
4:23 Inswinging corner taken left-footed by Richard Foster from the right by-line, Clark Robertson takes a shot. Save made by
2:33 The ball is sent over by Clark Robertson, Steven Robb makes a clearance.
1:25 The ball is crossed by Steven Robb, Effort from deep inside the area by Stephen O'Donnell misses to the right of the goal.
0:27 The referee penalises Darren Mackie for handball. Mark Howard restarts play with the free kick.
0:00 The referee starts the match.
Live text and data provided by The Press Association.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.