President Benjamin Harrison signed the bills of statehood for both Dakotas on the same day. He shuffled the papers, so one actually knows which one became a state first. North Dakota is generally recognized as the 39th state and South Dakota as the 40th, purely based on alphabetical order.