Answer
To unify the Church, Gregory XII sought to end the Western Schism, a period of division within the Catholic Church that had resulted in multiple claimants to the papacy. He agreed to meet with the rival popes, Benedict XIII and John XXIII, to discuss a resolution and potentially abdicate if necessary.