The military aspect of the Mexican-American War ended in September 1847
when the U.S. Army occupied Mexico City.
O when the Mexican president, Antonio Lopez de Santa Anna, was assassinated by a political rival in Mexico
City.
O when British negotiators stepped in to arbitrate a ceasefire between the Mexicans and the Americans.
O when the French launched their own invasion of Mexico.