Conversation so far:
Who was Innocent IV?
A new pope, Innocent IV, was elected on 25 June 1243.
Was Innocent IV viewed as a good pope?
The Emperor was initially happy with his election. Innocent, however, was to become his fiercest enemy.
Why were the Emperor and Pope Innocent enemies?
Negotiations began in the summer of 1243, but the situation changed as Viterbo rebelled, instigated by the intriguing local cardinal Ranieri Capocci.

Question: Who prevailed?
Self-contained rewrite: Who prevailed in the rebellion of Viterbo?