 He was to bear half the costs associated with the expansion of the Opole castle, a decision that was made in August of 1228 in Rybnik.He returned to Lesser Poland and became Castellan of Kraków around 1230, during the reign of Władysław III Spindleshanks.He defended Krakow, Wawel and Skała, alongside the then Voivode Marek of Brzeźncia, from the Masovian army of Konrad I.