sentences:  Catalonia pledged to fight for the cause of the claimant to the Spanish throne, Charles of Austria, with military aid from England, who in exchange pledged to defend the Constitution of Catalonia whatever the outcome of the war.Allied troops landed, turning back to Barcelona and then surrounding the city in October 1705.Viceroy Velasco, and the Bourbon garrison that was in Barcelona capitulated.