Bolesław had enjoyed the close friendship of the emperor Otto III and after his death supported one of Otto's followers, Eckard I, Margrave of Meissen for the position of Holy Roman Emperor, against the claims of Henry II. After both emperor Otto III and Eckard's death in 1002, Bolesław conquered Eckard's domain of Meissen, as well as the march of Lusatia. Once Henry secured his position within Germany, an agreement was reached which left Bolesław with Lusatia and Upper Lusatia while the Polish duke in turn recognized Henry as Holy Roman Emperor.