 On 11 June 1077, Carniola and Istria were transferred by King Henry IV of Germany to the powerful Patriarchs of Aquileia.Nevertheless, secular margraves were still appointed and the territory was administered as a separate province.After the extinction of the Thuringian counts of Weimar upon the death of Margrave Ulric II in 1112 (he may have resigned his march in 1107 or 1108), the Patriarchate took over the governing of the territory, against the resistance of the Rhenish House of Sponheim, Dukes of Carinthia from 1122.