James II of Scotland died hastily." The Scots carried on with the siege, led by George Douglas, 4th Earl of Angus, and the castle fell a few days later. Once the castle was captured James's widow, Mary of Guelders, ordered its destruction. James's son became king as James III and Mary acted as regent until her own death three years later. James married Mary of Guelders at Holyrood Abbey, Edinburgh, on 3 July 1449. They had seven children: By his unknown mistress, James also left one illegitimate son: James II has been depicted in plays, historical novels and short stories. They include: James II
Charles II of Naples realms ruled by the kings of Hungaryaccepted the pope's decision. Charles made donations to them to secure their support, but Charles Martel could never assert his claim. The death of Pope Nicholas IV gave rise to a prolonged interregnum. Charles continued the negotiations with James with the mediation of Sancho IV of Castile. An agreement was completed in Figueras in late 1293. James agreed to give up Sicily in return for a compensation. To put an end to the interregnum in Rome, Charles persuaded the cardinals to elect Peter of Morronea hermit who had been known for his apocalyptic visionspope.