What was Montana?

The Territory of Montana existed from May 26, 1864 until November 8, 1889, when it was admitted to the Union as the State of Montana.