When Cardinal Angelo Roncalli was elected to the papacy, he chose the name “John” in honor of his father. Previous popes had, for centuries, declined to take the name because it had been the name of a famous anti-pope; but Cardinal Roncalli apparently did not harbor superstitions about the name as it had good personal associations for him. He took the number “XXIII” because he was the 23rd legitimate Pope John in the line of popes named John. As an analogy, there was an anti-pope in modern times who called himself “Pius XIII.” In the future, should another legitimate pope choose the name “Pius,” he will be “Pius XIII” even though an anti-pope illegitimately appropriated that name for himself.