In the subsequent War of the Spanish Succession (1702  1713) most of the old kingdom of Arag??n, including the Balearics, backed the Hapsburgs.
There was a war due to Spanish succession in the early 1700's.