The temporal power of the pope was no accident: from Gregory VII to 1929 (1075)
The temporal power of the pope was no accident: the Donation of Pepin (756) created the Papal States, the Dictatus Papae (1075) claimed the right to depose emperors, and at Canossa (1077) an emperor had to ask for absolution. Innocent III and Boniface VIII carried the claim to its highest form. The States lasted until 1870; in 1929 the Lateran treaty gave the pope back a sovereignty in miniature, Vatican City.
The Reformed thesis is that the two swords are not two powers of the same kingdom: Christ said that his kingdom is not of this world. When the see lost the States, it did not lose the claim; it kept it in infallibility.
Source