Which event happened at the end of the Mexican War? The US gave up Texas to Mexico. Borders returned to their prewar locations. The US gained a large area in the West from Mexico.