He was elected in 1294 after Pope Celestine V abdicated .
Pope Celestine V abdicated on December 13 , 1294 , at Naples , where he had established the papal court under the patronage of King Charles II of Sicily .