Mexican Navy From that year until 1939 it existed jointly with the Mexican Army in the organic ministry. Since its declaration of independence from Spain in September 1810, through the mid decades of the 19th century, Mexico found itself in a constant state of war, mostly against Spain which had not recognized its independence. Therefore, its priority was to purchase its first fleet from the U.S. in order to displace the last remaining Spanish forces from its coasts. The Mexican Navy has participated in many naval battles to protect and defend Mexico's interests. Some of the most important battles were: The first
Mexican War of Independence rule until the Hidalgo revolt of 1810. Elites in Mexico City in the seventeenth century did force the removal of a reformist viceroy, the Marqués de Gelves, following an urban riot in 1624 fomented by those elites. He attempted to eliminate corrupt practices by creole elites as well as rein in the opulent displays of the clergy's power, but ecclesiastical authorities in conjunction with creole elites mobilized urban plebeians to oust the viceroy. The crowd was reported to shout, "Long live the King! Love live Christ! Death to bad government! Death to the heretic Lutheran [Viceroy Gelves]! Arrest the viceroy!"