Cortes of Cádiz
The Cortes of Cádiz was a revival of the traditional cortes (Spanish parliament), which as an institution had not functioned for many years, but it met as a single body, rather than divided into estates as with previous ones.
The General and Extraordinary Cortes that met in the port of Cádiz starting 24 September 1810 "claimed legitimacy as the sole representative of Spanish sovereignty", following the French invasion and occupation of Spain during the Napoleonic Wars and the abdication of the monarch Ferdinand VII and his father Charles IV. It met as one body, and its members represented the entire Spanish Empire, that is, not only Spain but also Spanish America and the Philippines.
The Cortes of Cádiz was seen then, and by historians today, as a major step towards liberalism and democracy in the history of Spain and Spanish America. The liberal Cortes drafted and ratified the Spanish Constitution of 1812, which established a constitutional monarchy and eliminated many institutions that privileged some groups over others.