Charles II of Naples had at first granted the fiefdom of Morea or Achaea to Princess Isabella of Villehardouin (from the Villehardouin dynasty), but he deposed her in 1307 and granted it to his son Philip I of Taranto, who in 1313 transferred it to Matilda (or Mafalda, or Maud) of Hainaut, heiress of Isabella of Villehardouin, who was married to Louis of Burgundy, titular King of Thessalonica. But Margaret, younger daughter of William II Villehardouin, claimed her rights from 1307. In 1313 she claimed them again without success and then transferred her rights to her daughter Isabelle of Sabran, wife of Ferdinand of Majorca. The son of Ferdinand and Isabelle, known as James the Unfortunate, was proclaimed prince of the Morea in 1315 under the regency of his father, who conquered the principality between 1315 and 1316 but was defeated and executed by Louis of Burgundy and Matilda in 1316. In 1316 Louis of Burgundy died and King Robert of Naples deposed Matilda and gave the principality to his brother John of Durazzo, to whom Matilda was briefly married under duress before being imprisoned.