War of the Spanish Succession
During the War of the Spanish Succession, Catalonia was contested between the Bourbons and Habsburgs.