Hearts have made it back to the Scottish Premiership at the first attempt after their Championship success was confirmed on Saturday.
Robbie Neilson's side moved within two points of title glory with a 6-0 victory over bottom club Alloa on Friday night.
They needed Raith Rovers and Dundee to drop points for the title to be confirmed on Saturday, and both slipped up at home.
Dundee drew 1-1 against Morton and Raith squandered a two-goal lead in the final 20 minutes to draw with Arbroath.
Neilson had found himself under pressure after Hearts won just two of their previous nine matches and suffered arguably the worst result in their history when they lost to Highland League side Brora Rangers in the Scottish Cup.
But he will now be able to push ahead with plans to rebuild his team for the Premiership after sealing promotion with three games to spare.
It is the third time Neilson has won the Championship in seven years, having led Hearts to promotion in 2015 and then achieved the feat with Dundee United last year.