Rochdale have been promoted from Sky Bet League 2 following a 2-0 victory over Cheltenham Town.
Dale, who went 41 years without a promotion from 1969 to 2010, were relegated from League 1 in 2012 and will return to the third tier after a two-season absence.
Fourth-placed Fleetwood Town drew with Southend United, so Keith Hill's side needed a positive result to confirm their promotion and they did so with first-half goals from Peter Vincenti and Ian Henderson.
Rochdale currently top the League 2 table, having climbed above Scunthorpe United with their win.