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.
Domingo Matheu
The May Revolution began the Argentine War of Independence, which was complicated by the lack of weapons in the country. Without enough resources to buy them, the Primera Junta established armories. The first director, Juan Taragona, was soon replaced by Matheu. Working alongside German gunsmiths as Juan Frye and Fernando Lamping, he directed the creation of several muskets and some pieces of artillery. The armory of Buenos Aires, located at the site of the modern Palace of Justice, had only 90 employees, including seven slaves and seven natives. They had limited technical knowledge, but managed to build and repair nearly three hundred muskets and a hundred of carbines. Matheu gave financial support to the armory with his own wealth. Eduard Holmberg was appointed director in 1813, replacing Matheu, but Matheu kept working for the armory anyway. He supervised as well the armory of the Tucumán Province. He directed later the manufacture of military uniforms.