 Complete the following phrase:  James died in 1276, having partitioned his domains between his sons in his will. The will created a new Kingdom of Mallorca from the Balearic islands and the mainland counties of Roussillon or Montpellier, which was left to his son James II. However, the terms of the will specified that the new kingdom be a vassal state to the Crown of Aragon, which was left to his older brother Peter. Chafing under the vassalage, James joined forces with the Pope Martin IV and Philip III of France against his brother in the 