 Complete the following phrase:  The main legacy of the Revolt of the Barretinas was an enduring anti-French sentiment in the Catalan leadership and intelligentsia. This would become relevant a decade later in 1700, when King Charles II died without a son. Charles death triggered the War of the Spanish Succession. The two claimants were the French Philip, Duke of Anjou and the Austrian Emperor Leopold I. The Spanish government chose Philip; French King Louis XIV, Philips grandfather, naturally supported his grandson as well. The Catalan upper classes, still distrustful of France from its efforts to stir the peasantry against them in 1689, had no love for Philip. He was a king chosen by Castilians. In 1702, the cortes voted to recognize Leopold as king, and full-scale rebellion against Philip began in 1705 with the arrival of supporting Austrian troops. The war would continue for nine more years, until the 