Mexican–American War from the war of independence (1810–1821) as a weak and divided force. Before the war with the United States, the military faced both internal and foreign challenges. The Spanish still occupied the coastal fortress of San Juan de Ulúa, and Spain did not recognize Mexico's independence, so that the new nation was at risk for invasion. In 1829, the Spanish attempted to reconquer their former colony and Antonio López de Santa Anna became a national hero defending the homeland. The army had a set of privileges ("fueros"), established in the colonial era, that gave it jurisdiction over many aspects of
Dominican War of Independence Dominican War of Independence The Dominican Independence War gave the Dominican Republic autonomy from Haiti on February 27, 1844. Before the war, the island of Hispaniola had been united under the Haitian government for a period of 22 years when the newly independent nation, previously known as the Captaincy General of Santo Domingo, was unified with Haiti in 1822. The criollo class within the country overthrew the Spanish crown in 1821 before unifying with Haiti a year later. In 1844, the members of La Trinitaria chose El Conde, the prominent “Gate of the Count” in the old city walls, as