The Council of Constance met in 1414 with the backing of Emperor Sigismund. John XXIII fled in an attempt to dissolve it, and the council answered with the decree Haec Sancta, stating that a legitimate general council holds power directly from Christ and binds all, including a pope, on ending the Schism. It deposed John, accepted Gregory XII's resignation, and declared Benedict XIII deposed. It then elected Martin V, accepted across virtually the whole of Western Christendom.
Key idea Each claimant needed a different resolution, so the council was adjudicating and not merely overpowering.