Input (grade 10): He was elected in December 24, 1294 after Pope Celestine V abdicated in December 13.
Output (grade 8): He was elected in 1294 after Pope Celestine V abdicated.