In 1417, the Council of Constance resolved the Schism, proclaiming Martin V the new Pope and demanding that Benedict XIII renounce his claim.
Benedict XIII, however, remained at a castle in Peñíscola (kingdom of Valencia) and continued to maintain supporters.
He died in 1423, but, the day before his death, he created four cardinals loyal to him, in order to ensure the Avignon line.
Carrier, acting as the College of Cardinals by himself, elected Bernard Garnier, who took the name Pope Benedict XIV, instead.
Garnier conducted his office secretly and was known as the "hidden pope": a letter from the Count of Armagnac to Joan of Arc indicates that only Carrier knew Benedict XIV's location.