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.
Jujuy Province
During the May Revolution and the battles for the independence of the "United provinces of the South", many confrontations took place in Jujuy because the Spanish concentrated their forces in Peru. The people of Jujuy had to endure the Jujuy Exodus, a massive evacuation with a scorched earth policy, led by General Manuel Belgrano. Finally the Spanish surrendered, but the war seriously affected the economy of the area.