At least five popes spent significant periods of residence in Perugia.
Background
convinced Lombard King Ratchis to abandon his siege of the city in 749. The city was also included in the "Donation of Pepin", and thus added to the Papal States.
History as a papal residence
Innocent III
was in Perugia in September 1198 to consecrate S. Lorenzo; by October, he had left for Todi. Innocent III died in Perugia in 1216, where the cardinals gathered to elect Honorius III.
Gregory IX
According to Heywood, According to Heywood, Perugia "virtually assumed the position of Papal Vicar in Umbria." The two apparently had a falling out by the time of Martin IV, who excommunicated the entire city of Perugia for disobeying his order not to exact vengeance upon the Bishopric of Foligno, and he and his cardinals were burned in effigy in Perugia.
After the death of Frederick II, Pope Innocent IV returned to Italy and reached Perugia in November 1251. He did not resume his journey towards Rome until 1253, when he was summoned by Senator Brancaleone. According to Heywood,
Urban IV
lived in Perugia in 1264, while fleeing with his Curia from Pietro Di Vico, who was planning to ambush him in Orvieto. Urban Iv remained in Perugia until his death.
took refuge in Perugia upon his election where he died in July 1304, triggering an eleven-month election in the "Palazzo del Papa." Pope Clement V was elected, who moved the papacy to Avignon, causing the Avignon Papacy.
lived in Perugia from September 1392 until 1393 during the Western Schism. His legate, Pileo, the archbishop of Ravenna, had been guarding the citadel and the city in his absence. While in the city, Boniface IX recalled the Guelphic exiles and achieved a military victory against Giovanni Sciarra da Vico. One of these exiles was murdered in the streets in July 1393 and Pandolfo de' Baglioni, a noble, interfered with the Podesta's ability to hand down a sentence; in retaliation, an angry mob killed Pandolfo and much of his family. As the city erupted in violence, the pope and his aides fled to Assisi.
Papal Palace
A portion of the Canonica, which had previously been "invaded" by the civic magistrates, was occupied by the popes, and later became known as the Palazzo del Papa; it was later used as the residence of the papal governor. The Canonica was connected to the Bishop's Palace by massive arches which now comprise the Via delle Volte. The Great Hall was capable of seating 600 persons. The palace, then the residence of the papal governor, burned to the ground in 1534. Pope Pius IV granted the site and the remains to Cardinal Fulvio della Corgna. The Piazza della Paglia was renamed Piazza del Papa in 1816, when a statute of Pope Julius III was moved there.
Later papal relations
In 1375, Perugia was one of the first cities to join Florence in rebellion against Gregory XI in the War of the Eight Saints. Pope Boniface IX reclaimed the city in 1403. In 1416, Pope Martin V recognized Braccio da Montone as lord of Perugia. Pope Julius II conquered Gian Paolo Baglione in the city in 1506, and Pope Leo X ordered him decapitated in 1520. Thereafter, Perugia was again an immediate dependency of the Holy See. The city rebelled against Pope Paul III's salt tax in 1540. Pierluigi Farnese suppressed the rebellion for Paul III, who built a fortress in the city. Pope Julius III restored many of the cities privileges thereafter. When the Perugians rebelled again in 1848 they demolished Paul III's tower. Pontifical troops retook the city again in 1859. Pope Leo XIII, a former bishop of Perugia, made the see an archdiocese upon his election.