Barnsley's promotion to the Sky Bet Championship was confirmed last night (Tuesday), alongside Luton, without either team kicking a ball, as Portsmouth and Sunderland both slipped to defeat.
Pompey, who were looking to close the gap on the second-placed Tykes to a single point going into the final day on Saturday, fell two goals behind at home to Peterborough.
Portsmouth hauled themselves level with a deflected effort from Ben Close and Christian Burgess' close-range finish, only for Toney to rifle in a 75th-minute winner.
At Highbury Stadium, Sunderland went ahead through Lee Cattermole's header from a corner, but Paddy Madden slotted home an equaliser before Ashley Eastham slammed in a last-gasp winner.
Bury will play in League One next season after their promotion was confirmed following a 1-1 draw at Tranmere, who clinched a play-off spot.
WATCH: Reaction in Barnsley this morning.