The New Mexico Territory was an organized territory of the United States from 1850 until 1912, created after the U.S. acquired land from Mexico through the Treaty of Guadalupe Hidalgo. This territory played a crucial role in American expansion westward, influencing the political, social, and economic landscape of the region while also fostering tensions between different cultural groups.