The siege of Cádiz was a siege of the large Spanish naval base of Cádiz by a French army from 5 February 1810 to 24 August 1812 during the Peninsular War. Following the occupation of Seville, Cádiz became the Spanish seat of power, and was targeted by 70,000 French troops under the command of the Marshals Claude Victor and Nicolas Jean-de-Dieu Soult for one of the most important sieges of the war. Defending the city were 2,000 Spanish troops who, as the siege progressed, received aid from 10,000 Spanish reinforcements as well as British and Portuguese troops. During the siege, which lasted two and a half years, the Cortes of Cádizwhich served as a parliamentary Regency after Ferdinand VII was deposeddrew up a new constitution to reduce the strength of the monarchy, which was eventually revoked by Fernando VII when he returned. In October 1810 a mixed Anglo-Spanish relief force embarked on a disastrous landing at Fuengirola. A second relief attempt was made at Tarifa in 1811. However, despite defeating a detached French force of 15,000–20,000 under Marshal Victor at the Battle of Barrosa, the siege was not lifted. In 1812 the Battle of Salamanca eventually forced the French troops to retreat from Andalusia, for fear of being cut off by the Coalition armies. The French defeat contributed decisively to the liberation of Spain from French occupation, due to the survival of the Spanish government and the use of Cádiz as a jump-off point for the Coalition forces. Background The Revolution under siege started with the Siege of Cádiz. Prelude In the early 19th century, war was brewing between French emperor Napoleon and the Russian Tsar Alexander I, and Napoleon saw the shared interests of Britain and Russia in defeating him as a threat. Napoleon's advisor, the Duke of Cadore, recommended that the ports of Europe be closed to the British, stating that "Once in Cadiz, Sire, you will be in a position either to break or strengthen the bonds with Russia". Soult and his French army invaded Portugal in 1809 but were beaten by Wellesley at Oporto on 12 May. The British and Spanish armies advanced into mainland Spain, however the difficulties that the Spanish army bore forced Arthur Wellesley to retreat into Portugal after Spanish defeats in the battles of Ocaña and Alba de Tormes. By 1810 the war had reached a stalemate. Wellesley strengthened Portuguese and Spanish