But it was not to be. Gregory's death (January 10, 1276) undid all his work. Charles of Sicily alone rejoiced at the vacancy, and made desperate efforts to secure the nomination to the Papacy again. But two nominees died in quick succession; and when on the death of John XXI after a similarly short reign, Charles again interfered, he was met by the election of Nicholas III of the family of Orsini, who returned to Rome and spent the three years of his pontificate in neutralising Charles' power. For this purpose he used the new King of the Romans. Charles was forced to resign the vicariate of Tuscany, which was made over to Rudolf. Charles also resigned the senatorship of Rome which he had held for ten years. To this Nicholas got himself elected, and issued a decree by which he hoped to make it impossible for any foreign prince to be elected, or for anyone to hold the post for more than a year without the papal favour.
[Sidenote: Revival of the Empire.]
But Nicholas was only able to give a German prince once more a footing in Italy because Rudolf had been effectually barred from reviving the Hohenstaufen claims. Already at the Council of Lyons the envoys of Rudolf had appeared and in his name had taken the oaths previously exacted from Otto IV and Frederick II. Rudolf had subsequently met Pope Gregory at Lausanne in 1275, and had confirmed the act of his representatives. Thus Gregory obtained from a crowned German King an acknowledgment of all the claims advanced by the Papacy since the days of Charles the Great. Rudolf was too busy ever to visit Rome; but in negotiations with regard to his coronation as Emperor, Nicholas III exacted the confirmation of all that was promised to Gregory, and this included especially the lands of the old Exarchate and the district of Pentapolis, which had never yet been actually in the hands of papal officers.
[Sidenote: Martin IV (1281-5).]
Dante has banned the memory of Nicholas as the simoniacal Pope. He certainly used his enormous patronage to enrich his own family. But his death (August, 1280) nearly proved fatal to the freedom of Europe; for Charles at length obtained his own nominee to the Papacy in the person of a Frenchman, Martin IV, who proceeded to hand over to the King for life the Roman senatorship conferred upon the Pope. All the work of the preceding Popes was undone. The temporary union of the Churches was dissolved by the excommunication of the Greek Emperor on the pretext that he had not carried out his promises; and Charles, who had obtained a footing in the Greek peninsula and made a league with Venice, prepared to start on his expedition against Constantinople. There seemed every prospect of his success.
[Sidenote: Sicilian Vespers]
But Charles' brutality had been imitated by his French officials; and the rising known as the "Sicilian Vespers" in March, 1282, cleared the French out of Sicily and finally overthrew all Charles' plans. The fleet prepared for Constantinople had to be turned against the rebel islanders. The Pope, thinking to play the game of his royal master, refused to mediate; the Sicilians thereupon declared that from St. Peter they would turn for aid to another Peter, and offered the crown to Peter, King of Aragon, the husband of Manfred's daughter, Constance, who for some years had welcomed Sicilian refugees at his court and had been ready for the summons. The Pope deprived Peter of his hereditary dominions and bestowed them on Charles' great nephew Charles of Valois, a son of Philip III of France; but the Aragonese fleet under Roger di Loria defeated Charles' fleet and captured his son and heir Charles the Lame. On January 7, 1285, Charles himself died, and was followed to the grave very shortly by Pope Martin IV. The same year saw also the death of Philip III of France and of Peter of Aragon. Pope Honorius IV followed the policy of his predecessor, and to him succeeded Nicholas IV. It was during his pontificate that the Latin kingdom of Jerusalem, the result of the First Crusade, was finally wiped out by the capture of Acre (1291), and the little stir made by this event affords a measure of the decay of the crusading spirit.
[Sidenote: Celestine V (1294).]
On the death of Nicholas the division among the Cardinals reflecting the jealousies of the Roman families of Orsini and Colonna, caused a vacancy in the papal office for more than two years. Then by a sudden whim, which in the event of a successful result would have been called an inspiration, the name of a hermit, Peter, whose austerities in his cell on Monte Murrone in the Abruzzi had won him great reverence, was suggested apparently in all sincerity to the wearied and perplexed Cardinals. He was elected and took the title of Celestine V. In accordance with the desire of Charles II of Naples, he took up his abode at Naples. But he was utterly unfit for his high office, and after a pontificate of less than four months (August to December, 1294) he resigned, thus perpetrating that "great refusal" which won Dante's immortal phrase of scorn. How far his act was due to the machinations of Cardinal Gaetani is uncertain. At any rate Gaetani had evidently obtained Charles' sanction beforehand to his own elevation, which took place ten days later. But the new Pope did not intend that anyone should be his master. For the moment he and Charles needed each other, and it was agreed between them that Sicily should be recovered for Charles, while Celestine should be given into the keeping of his successor lest he should become a centre for disaffection.
[Sidenote: Boniface VIII (1294-1303).]