May Revolution
The mutiny of Aranjuez in 1808 led King Charles IV of Spain to abdicate in favor of his son, Ferdinand VII. Charles IV requested that Napoleon restore him to the throne; instead, Napoleon crowned his own brother, Joseph Bonaparte, as the new Spanish King. These events are known as the Abdications of Bayonne. Joseph's coronation was met with severe resistance in Spain, which started the Peninsular War, and the Supreme Central Junta took power in the name of the absent king. This also led to Spain switching allegiances from France to Britain. France eventually invaded Sevilla, and a Council of Regency based in Cadiz replaced the disbanded Supreme Central Junta.
Historiography of the May Revolution
On the other hand, the Congress of Tucuman issued a manifest in 1817, more than a year after the declaration of independence. It detailed abuses made by the Spanish, and former chances for separatism that were not used. Of course, once the independence was declared openly, there would not have been any further need for keeping a masquerade of submission. In the specific case of the May Revolution, it says: