Raith Rovers denied Rangers the Ladbrokes Championship title after a dramatic 3-3 draw at Stark's Park on Saturday.
Mark Warburton's side now have the chance to complete the job at home to Dumbarton on Tuesday night after Harry Panayiotou equalised deep into injury time, less than a minute after Wes Foderingham had saved his penalty.
Louis Longridge put Rovers in front but Harry Forrester and Michael O'Halloran replied and Kenny Miller struck early in the second half after James Craigen had hauled the Kirkcaldy club level. Substitute Panayiotou, on loan from Leicester, had the final say in a thrilling match.
Second-placed Falkirk were pegged back by Queen of the South in a 2-2 draw at Palmerston. Blair Alston and John Baird had the Bairns in command but Derek Lyle pulled one back and Iain Russell levelled in stoppage time.
It also ended 2-2 in Paisley between St Mirren and Hibernian. Jason Cummings' opener was overturned by goals from Rocco Quinn and Lawrence Shankland but Farid El Alagui scored a last-minute equaliser.
Alloa's relegation was confirmed after a 0-0 draw with second-bottom Livingston at the Tony Macaroni Arena and it also ended 0-0 between Dumbarton and Morton at the Cheaper Insurance Direct Stadium.