Margravate of Meissen the occasion to conquer the margravial lands east of the Elbe and demanded the surrender of Meissen. The following German–Polish War ended with the 1018 Peace of Bautzen, whereby Meissen had to cede the Milceni region (later Upper Lusatia) to Poland. In 1031 however, King Conrad II of Germany was able to reconquer the Milceni lands, which were returned to Meissen. In 1046, Count Otto of Weimar-Orlamünde became margrave, followed by Egbert II of the Brunonids upon his death in 1067. Egbert II entered into a longstanding conflict with Emperor Henry IV, because of which he had to renounce the
Meissen Wettin, is regarded as being the first castle to be used as a royal residence in the German-speaking world. Built between 1472 and 1525, it is a fine example of late Gothic style. It was redecorated in the 19th century with a range of murals depicting Saxon history. Today the castle is a museum. Nearby is the 13th-century Gothic Meissen Cathedral ("Meißner Dom"), whose chapel is one of the most famous burial places of the Wettin family. The hill on which the castle and the cathedral are built offers a view over the roofs of the old town. Meissen's historical