The decline in the Pope's power just as monarchs were rising ?

What caused the popes who were increasingly involved in worldly affairs to decline in power just as monarchs were rising and which major moments that illustrates this statement? In other words, what made it possible?
2 answers 2