How was U.S. territorial expansion affected by the Mexican-American War?

A. The United States took over territory south of the Rio Grande.

B. The United States added the territories of California and New Mexico.

C. The United States lost territory on the Pacific Coast.

D. The United States lost parts of Arizona and Utah to Mexico.
(Answer it saying which letter)