Alfonso of Aragon and Foix
Alfonso de Aragón y Foix, called the Old (1332–1412), was the eldest son of Count Peter of Ribagorza and Joanna of Foix, a grandson of James II of Aragon and a cousin of Peter IV.
He married Violante Díaz de Arenós in 1355, the year he became Count of Dénia. He added Ribagorza in 1361 and was made the first Duke of Gandía in 1399.
His chance came in 1410, when King Martin died childless and left the Crown of Aragon without a direct heir. As the senior male-line descendant of James II, Alfonso put in a claim, but he died at Gandía in March 1412, before the Compromise of Caspe settled the succession. His brother Juan inherited the claim, and his son Alfonso inherited Gandía, Ribagorza and Dénia.