New mexico history before statehood for NM History class By Flapjock Feb 2, 1848 The Mexican American war ends with the signing of the treaty of Guadalupe Hidalgo Mexican-American War Sep 9, 1850 New Mexico becomes a US territory through the compromise of 1850 1850 compromise Aug 1, 1864 Long walk of the Navajos Long Walk Feb 18, 1878 Lincoln County War Lincoln County War Apr 21, 1898 New Mexicans prove loyalty to the US Rough riders