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