A younger son of Count Gaston IV was John (died 1500), who received the viscounty of Narbonne from his father and married Marie, a sister of the French king Louis XII. He was on good terms both with Louis XI and Louis XII, and on the death of his nephew Francis Phoebus in 1483, claimed the kingdom of Navarre against Jean d'Albret and his wife, Catherine de Foix. The ensuing struggle lasted until 1497 when John renounced his claim. He left a son, Gaston de Foix (1489–1512), a distinguished French general, and a daughter, Germaine de Foix, who became the second wife of Ferdinand II of Aragon.