Emperor Frederick II appointed a local supporter, the Bamberg canon Henry of Bilversheim, bishop. Bishop Henry became the first Prince-bishop; under his rule, the diocese gradually became a territorial principality, and its bishops took secular precedence next after the Mainz archbishops From about 1305, Altenburg Castle was used as a secondary residence. In 1390 Bishop Lamprecht, former chancellor of Emperor Charles V, also acquired the fortress of Giechburg. The early 15th century saw fierce conflicts with Hussite rebels as well as with the Bamberg citizens. Bishop Heinrich Groß von Trockau (d. 1501) entered into several fights with the Hohenzollern prince Casimir of Brandenburg-Bayreuth.