The popes would use religious influence upon the people of Rome in order to indefinately pursuade them into believing they should esteem from their all mighty God. Since the pope was within an hierarchy of such religious figures, they also assumed the position of a being a political leader due to the fact the pope was placing everyone within a right path and gaining them a righteous rectitude of religious beliefs.
Please let me know if you need any more details, for I would be glad to provide a sufficient answer in order to meet all of your expectations. If this is not enough detail or you were looking for something a little different, please don't withdraw, I will work diligently to gain exactly what you are looking for in a timely manner. Thanks!