Falkirk ended their 15-year exile from the Scottish Premiership with a 3-1 win over Hamilton.
The Bairns, who have stumbled towards the finish line in recent weeks, needed to match Livingston’s result to secure promotion and the Championship title.
They had a scare early on when Hamilton, whose relegation was confirmed a day earlier when their appeal against a 15-point deduction was dismissed, took a shock lead through Scott Robinson.
But Ethan Ross equalised with a free-kick before half-time and fired them ahead on the hour mark.
Calvin Miller then drilled a shot into the bottom corner to really get the party started 19 minutes from time.
As it turned out, Livingston fluffed their lines as Macaulay Tait’s own-goal gave Partick Thistle a 1-0 win and the final play-off spot ahead of Raith Rovers.
A Lewis Vaughan brace and further goals from Callum Fordyce, Dylan Easton and Aiden Marsh at least saw Rovers end on a high with a 5-1 win at Queen’s Park, for whom Seb Drozd replied.
Third-placed Ayr United beat second-bottom Airdrieonians 1-0 thanks to Ben Dempsey’s strike.
Owen Moffat’s third-minute goal and a penalty after seven minutes from Grant Gillespie gave Morton a 2-0 win over Dunfermline.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.