The two most important effects of the American victory in the War with Mexico were:
B: the acquisition of California and New Mexico.
The war resulted in significant territorial gains for the United States, including California and New Mexico, which were crucial developments in the expansion of the country.