Princes of the Holy Roman Empire
While the Přemyslid Dukes of Bohemia obtained the status of immediate Princes of the Holy Roman Empire, their rule was disrupted by internal dynastical struggles: during the rivalry between Duke Boleslaus III and his brother Jaromir in 1003, the Polish duke Bolesław I the Brave invaded Bohemia, but had to pull back the next year, facing the forces of King Henry II of Germany. In turn the Bohemian duke Bretislaus I campaigned the adjacent northern territory of Silesia in 1039. An armistice mediated by Emperor Henry III in 1054 demarcated the spheres of influence, leaving Kłodzko with Bohemia.