The Spanish Supreme Central and Governing Junta of the Kingdom was forced by popular pressure to set up the Cortes of Cádiz in the summer of 1809. The Junta came up with what it hoped would be a war-winning strategy, a two-pronged offensive to recapture Madrid, involving over 100,000 troops in three armies under the Duke del Parque, Juan Carlos de Aréizaga and the Duke of Alburquerque. Del Parque defeated Jean Gabriel Marchand's VI Corps at the Battle of Tamames on 18 October 1809 and occupied Salamanca on 25 October. Marchand was replaced by François Étienne de Kellermann, who brought up reinforcements in the form of his own men as well as General of Brigade Nicolas Godinot's force. Kellermann marched on Del Parque's position at Salamanca, who promptly abandoned it and retreated south. In the meantime, the guerrillas in the Province of León increased their activity. Kellermann left VI Corps holding Salamanca and returned to León to stamp out the uprising.