Motherwell thrashed St Johnstone 5-1 at Fir Park to clinch a European place and strengthen their grip on a Champions League spot.
Two goals in three first-half minutes from Michael Higdon and Nicky Law put Motherwell in command and Jamie Murphy scored the pick of their goals with a volley just after the interval.
Liam Craig pulled one back from the spot but substitute Henrik Ojamaa netted two late goals on the break as Motherwell moved five points clear in third place in the Clydesdale Bank Premier League.
A late equaliser for Hearts against Dundee United in the lunchtime kick-off had prevented Motherwell dropping out of the top three for only the second time this season and they capitalised on their closest rivals' slip-up emphatically.
The win moved Motherwell eight points above St Johnstone and nine above Hearts and, with both of those clubs playing each other in the final three games, Motherwell cannot finish outside the top five.