The Territory of New Mexico was an organized incorporated territory of the United States from September 9, 1850, until January 6, 1912. It was created as a result of Nuevo México becoming part of the American frontier after the Treaty of Guadalupe Hidalgo.