Mexico went to war with England.
Mexico . The Mexican -- American War ( 1846 -- 48 ) led to the territorial cession of the extensive northern territories to the United States . The Pastry War , the Franco-Mexican War , a civil war , two empires and a domestic dictatorship occurred through the 19th century .