human
Where did the Mexican–American War take place?
assistant
The war took place in the United States and Mexico. The war began in 1846 and lasted until 1848. The war was fought between the United States and Mexico over the issue of slavery. The United States wanted to end slavery in the country, while Mexico wanted to keep it.