During the tumultuous 14th century, disputes within the leadership of the Church led to the Avignon Papacy of 1305–78, also called the "Babylonian Captivity of the Papacy" (a reference to the Babylonian captivity of the Jews), and then to the Great Schism, lasting from 1378 to 1418, when there were two and later three rival popes, each supported by several states