Napoleon's invasion of Spain
Madrid, SpainAfter the surrender of a French army corps at Bailén and the loss of Portugal, Napoleon was convinced of the peril he faced in Spain. With his Armée d'Espagne of 278,670 men drawn up on the Ebro, facing 80,000 raw, disorganized Spanish troops, Napoleon and his marshals carried out a massive double envelopment of the Spanish lines in November 1808. Napoleon struck with overwhelming strength and the Spanish defense evaporated at Burgos, Tudela, Espinosa and Somosierra. Madrid surrendered itself on 1 December. Joseph Bonaparte was restored to his throne. The Junta was forced to abandon Madrid in November 1808, and resided in the Alcázar of Seville from 16 December 1808 until 23 January 1810. In Catalonia, Laurent Gouvion Saint-Cyr's 17,000-strong VII Corps besieged and captured Roses from an Anglo-Spanish garrison, destroyed part of Juan Miguel de Vives y Feliu's Spanish army at Cardedeu near Barcelona on 16 December and routed the Spaniards under Conde de Caldagues and Theodor von Reding at Molins de Rei.