Which of the following statements best describes the terms of the Treaty of Guadalupe-Hidalgo?
A The treaty ended the Mexican-American War, resulting in the U.S. finally being able to finish building railroads in Texas.
B The treaty ended the Mexican-American War, resulting in Mexico and the U.S. going back to their pre-war conditions.
C The treaty ended the Mexican-American War, resulting in the U.S. facing a lot of international backlash for the war.
D This treaty ended the Mexican-American War, resulting in Mexico ceding a large amount of land to the United States.