1268–1271 papal election
| Papal election 1268–71 | |
|---|---|
| Dates and location | |
| 1 December 1268 – 1 September 1271 Palace of the Popes in Viterbo | |
| Key officials | |
| Dean | Odo of Châteauroux |
| Protopriest | Simone Paltanieri |
| Protodeacon | Riccardo Annibaldi |
| Election | |
| Ballots | Not less than 137 |
| Elected pope | |
| Teobaldo Visconti Name taken: Gregory X | |
The 1268–71 papal election (from 1 December 1268 to 1 September 1271), following the death of Pope Clement IV, was the longest papal election in the history of the Catholic Church. This was due primarily to political infighting between the cardinals. The election of Teobaldo Visconti as Pope Gregory X was the first example of a papal election by "compromise", that is, by the appointment of a committee of six cardinals agreed to by the other ten. (This method was attempted once before, in the 1227 papal election, but the choice of the committee refused the honor and the full group of cardinals proceeded to elect the pope.) The election occurred more than a year after the magistrates of Viterbo locked the cardinals in, reduced their rations to bread and water, and removed the roof of the Palace of the Popes in Viterbo where the election took place.
As a result of the length of the election, during which three of the twenty cardinal-electors died and one resigned, Gregory X promulgated the papal bull Ubi periculum on 7 July 1274, during the Second Council of Lyon, establishing the papal conclave, whose rules were based on the tactics employed against the cardinals in Viterbo. The first election held under those rules is sometimes viewed as the first conclave.