Otto I confirms the election of the pope: the Privilegium Ottonianum (962)
When Otto I was crowned emperor in Rome, he imposed the Privilegium Ottonianum: the pope was to be elected from among the Roman clergy and deacons, and consecrated after the emperor confirmed the election. The emperor also presented himself as guarantor of the possessions of the Roman church.
The document does not invent imperial interference —it came from Charlemagne and the Constitutio Romana of 824—, but it fixes it at the moment when the see was weakest. The church that claimed temporal power accepted that a layman should confirm the one who was to be pope.
Source