The relationship between church and state during the medieval period went through a number of developments, roughly from the end of the Roman Empire through to the beginning of the Reformation. The events of the struggles for power between kings and popes shaped the western world.