The US won the war, and Mexico signed the Treaty of Guadalupe Hidalgo in 1848, which gave the US the area that would become the states of Arizona, California, New Mexico, Nevada, Utah, southwestern Colorado, and southwestern Wyoming. Mexico received 15 million US dollars and gave up its claims to Texas.