Answer- D Mexican-American War
When the Mexican-American War ended, the Americans signed a treaty known as the Treaty of Guadalupe Hidalgo. This very treaty ended the war. In return, the Mexicans had to give up their land including the northern territories. Such as, Alta California, and Santa Fe de Neuvo Mexico to US.
~Hope this helps!