Question: Which country gained independence from Spain and also fought a major war against the United States in the 1800s?
Answer: Mexico