section_path: Institutions
section_name: Institutions
paragraph_text: Institutions
  
  The Holy Roman Empire was neither a centralized state nor a nation-state. Instead, it was divided into dozens – eventually hundreds – of individual entities governed by kings, dukes, counts, bishops, abbots, and other rulers, collectively known as princes. There were also some areas ruled directly by the Emperor.
  
  From the High Middle Ages onwards, the Holy Roman Empire was marked by an uneasy coexistence with the princes of the local territories who were struggling to take power away from it. To a greater extent than in other medieval kingdoms such as France and England, the emperors were unable to gain much control over the lands that they formally owned. Instead, to secure their own position from the threat of being deposed, emperors were forced to grant more and more autonomy to local rulers, both nobles and bishops. This process began in the 11th century with the Investiture Controversy and was more or less concluded with the 1648 Peace of Westphalia. Several Emperors attempted to reverse this steady dilution of their authority but were thwarted both by the papacy and by the princes of the Empire.