حرب الخلافة الإسبانية
During the War of the Spanish Succession, Catalonia was contested between the Bourbons and Habsburgs.