BISMARCK, N.D. (AP) — Thursday is the birthday for both Dakotas.

President Benjamin Harrison signed papers admitting North Dakota and South Dakota as the 39th and 40th states in the union on Nov. 2, 1889. Legend says Harrison shuffled the statehood papers before signing them.

The two states are now 128 years old. They initially were part of the Dakota Territory created in 1861, which also included much of the present-day states of Montana and Wyoming.