What did the US give to Mexico in order keep territories of New and California?
The US did not give anything to Mexico to keep the territories of New Mexico and California. Mexico ceded those territories, along with the lands that would become part of the US states of Arizona, Nevada, Utah, and parts of Colorado and Wyoming, to the United States upon signing the Treaty of Guadalupe Hidalgo in 1848.