Between 1821 and 1880, the Santa Fe Trail was primarily a commercial highway connecting Missouri and Santa Fe, New Mexico. When the Treaty of Guadalupe Hidalgo ended the war in 1848, the Santa Fe Trail became a national road connecting the United States to the new southwest territories.