Who were the rulers in the middle ages?

mostly kings and popes