throughout history the popes have had power over different territories