During the War of the Spanish Succession, Valencia sided with Charles of Austria.