How did the U.S.-Mexican War affect Mexico? A. It led to the U.S. raising oil prices and Mexico experiencing an oil shortage for transportation. B. It led to the U.S. raising taxes on agricultural goods that they were trading with Mexico. C. It stopped tourism between the U.S. and Mexico, which hurt Mexico's economy drastically. D. It led to the Treaty of Guadalupe Hidalgo, which took over 500,000 square miles of territory from Mexico.

D. It led to the Treaty of Guadalupe Hidalgo, which took over 500,000 square miles of territory from Mexico.