On April 18.1847 ; American victory at the battle of Cerro Gordo opens the way for invasion of Mexico.