Montjuïc castle was used extensively in the Peninsular War (Spanish War of Independence) between Spain and France, 1808-1814. In particular, the castle was destroyed and fell to the French in August 1809 during the 7-month long Third siege of Girona. By order of Suchet, the castle was abandoned at the end of the war in 1814. In 1843, during the Catalan popular revolt "Jamància", Montjuïc Castle and the Suchet tower were destroyed by artillery on the orders General Juan Prim.