Colonial history of the United States exchange for control of Havana, Cuba, which had been captured by the British during the Seven Years' War. Florida was home to about 3,000 Spaniards at the time, and nearly all quickly left. Britain occupied Florida but did not send many settlers to the area, and control was restored to Spain in 1783 by the Peace of Paris which ended the American Revolutionary War. Spain sent no more settlers or missionaries to Florida during this second colonial period. The inhabitants of West Florida revolted against the Spanish in 1810 and formed the Republic of West Florida, which was quickly annexed
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!"