In 1041, Bretislaus, defeated in his second attempted invasion by Emperor Henry III, signed a treaty at Regensburg (1042) in which he renounced his claims to all Polish lands except for Silesia, which was to be incorporated into the Bohemian Kingdom. It was Casimir's success in strengthening royal power and ending internal strife that earned him the epithet of "the Restorer". The treaty gained Casimir a period of peace on the southern border and the capital of Poland was moved to Kraków, the only major Polish city relatively untouched by the wars. It is probable that the Holy Roman Emperor was pleased with the balance of power that had been restored to the region and forced Casimir not to crown himself the King of Poland. In 1046 Emperor Henry III held royal and imperial courts at Merseburg and Meissen, at which he ended the strife among the Duke of Pomerania (Dux Bomeraniorum), Duke Bretislaus of Bohemia, and Casimir I.
In 1041, Bretislaus, defeated in his second attempted invasion by Emperor Henry III, signed a treaty at Regensburg (1042) in which he renounced his claims to all Polish lands except for Silesia, which was to be incorporated into the Bohemian Kingdom. It was Casimir's success in strengthening royal power and ending internal strife that earned him the epithet of "the Restorer". The treaty gained Casimir a period of peace on the southern border and the capital of Poland was moved to Kraków, the only major Polish city relatively untouched by the wars. It is probable that the Holy Roman Emperor was pleased with the balance of power that had been restored to the region and forced Casimir not to crown himself the King of Poland. In 1046 Emperor Henry III held royal and imperial courts at Merseburg and Meissen, at which he ended the strife among the Duke of Pomerania (Dux Bomeraniorum), Duchess Bretislaus of Bohemia, and Casimir I.