Montana became the 41st state of the United States on November 8, 1889. It had been a territory for 25 years before gaining statehood, with President Benjamin Harrison officially proclaiming it a state on that date. The state's admission followed the passage of the Enabling Act of 1889 and the ratification of a new constitution by the voters of Montana Territory. Helena was established as the state capital upon statehood.