St Johnstone grabbed a place in the Europa League qualifiers for a second year running with a deserved win over SPL runners-up Motherwell.
Saints' Chris Millar had fired against the post before Liam Craig's 25-yard drive beat goalkeeper Lee Hollis after 36 minutes at McDiarmid Park.
Nigel Hasselbaink's fine shot on the turn two minutes after the break doubled St Johnstone's lead.
Saints took third spot because
Inverness went down 1-0
at Ross County.
Caley Thistle had started the afternoon in third place, a point ahead of the Perth side, but Terry Butcher's side were leapfrogged as a result of losing the Highland derby.
Hasselbaink (right) added the second goal as Saints claimed victory over Motherwell
Nicky Law, playing in his final match for Motherwell, tried his luck early on for the visitors, but his hooked effort fell just wide.
Saints thought they had grabbed the opener after seven minutes when Steven MacLean connected with Hasselbaink's pass and sent an angled drive past Hollis, but it was ruled out for offside.
Without the experience of the suspended Frazer Wright in central defence, Saints manager Steve Lomas made three other changes from the side that lost 4-0 away to champions Celtic last time out.
After more than half an hour of undistinguished play on a difficult pitch that required the ball to be changed five times in an attempt to find a true roll, one of the replacements, Millar, went close to breaking the deadlock.
As the ball bobbled inside the Well penalty box, Millar's effort struck the face of a post before being cleared.
The visitors failed to heed the warning, however, and it was not long before Saints went ahead.
Craig, who has already agreed a pre-contract agreement with Scottish Premier League rivals Hibernian, gave the home fans a perfect leaving present.
His eighth goal of the season travelled a long way across the rutted McDiarmid Park turf before nestling in the corner of the net past Hollis.
Motherwell could have levelled on the stroke of half-time, but Alan Mannus saved well from Michael Higdon's header before Henrik Ojamaa blasted the rebound over.
Hollis, starting in place of Darren Randolph - who is poised to leave Fir Park after rejecting a new contract - was beaten again shortly after the interval.
Hasselbaink gathered a low pass into the box by Dave MacKay with his back to goal and his marker, but a swift swivel of his hips and a short backswing later the ball had travelled 15 yards into the corner of the net, with Hollis given no chance.
It was all Saints now and Murray Davidson, another player set to leave McDiarmid Park after rejecting the offer of a new deal, sent an effort against the crossbar.
But two goals were enough to deny Inverness third spot - and a place in Europe - for the first time in their history and send the Perth fans streaming onto the pitch to congratulate their players.
- 01 Mannus
- 02 MacKay
- 03 Davidson
- 06 Anderson
- 19 Miller (Scobbie - 81' )
- 07 Millar
- 08 Davidson Booked
- 10 Craig Booked
- 11 Hasselbaink (Tade - 78' )
- 17 MacLean
- 23 Vine (Abeid - 69' )
- 15 Tuffey
- 26 Caddis
- 33 Scobbie
- 04 Cregg
- 14 Gwion Edwards
- 21 Abeid
- 09 Tade
- 12 Hollis
- 03 Hammell
- 05 Hutchinson
- 15 Ramsden
- 19 Kerr
- 04 Law
- 14 Lasley
- 18 Carswell (McHugh - 61' )
- 08 Ojamaa (Daley - 79' )
- 09 Higdon
- 20 McFadden (Higginbotham - 62' )
- 01 Randolph
- 26 Francis-Angol
- 30 Cummins
- 17 Daley
- 11 Higginbotham
- 16 McHugh
- 29 Erwin