Answer
Nicholas V was a former cardinal who was elected pope by Louis IV in 1303 in order to oppose Pope Clement V, who was seen as being too closely allied with the French king. Nicholas V was never recognized by the majority of the Church, and he was deposed by Clement V in 1305.