The council, advised by the theologian Jean Gerson, secured the resignations of John XXIII and Pope Gregory XII, who resigned in 1415, while excommunicating the second antipope, Benedict XIII, who refused to step down.