In 1864 Prescott was designated as the capital of the Arizona Territory. The Territorial Capital was moved to Tucson in 1867. Prescott again became the Territorial Capital in 1877, until Phoenix became the capital in 1889.