The 1810 May Revolution followed the deposition of the Spanish king Ferdinand VII by the Napoleonic French. The revolution ended the authority of the Viceroy Cisneros and replaced it with the Primera Junta.