New Mexico is a U.S. state that was part of the territory ceded to the United States under the Treaty of Guadalupe Hidalgo in 1848. This treaty marked the end of the Mexican-American War and significantly altered the territorial boundaries between Mexico and the United States, leading to the incorporation of New Mexico and its diverse cultural landscape into the American nation.