What was the result of the treaty of Guadalupe Hidalgo in 1848

A the US bought land west of Texas to the California coast
B Texas declared it independence from Mexico
C New Mexico, split from Mexico and join the union
D Native Americans were removed from the Mexican territories

A the US bought land west of Texas to the California coast