Montana became a territory May 28, 1864 and the first delegation created nine counties: Beaverhead, Big Horn (renamed Custer in 1877), Chouteau, Deer Lodge, Gallatin, Jefferson, Edgerton (renamed Lewis and Clark in 1867), Madison, and Missoula. In a 2020 study, Montana was ranked as the 21st easiest state for citizens to vote in.