Answer
John XXIII, originally known as Baldassare Cossa, emerged as Gregory XII's primary rival during the Council of Pisa in 1409. Amid the Western Schism, which involved competing papal claimants, Cossa sought to challenge Gregory's legitimacy and secure his own claim to the papacy.