 As he himself left no heirs, he willed his lands to his cousin, the Přemyslid king Ottokar II of Bohemia in 1268.Ottokar likewise had acquired the princeless Duchy of Austria with Styria, and upon Ulric's death in 1269 he united Carinthia and Carniola to his Crown, which already stretched to Königsberg, which he had founded on his Prussian Crusade.Thus Carniola was the southernmost possession in a line which stretched from the Adriatic to the Baltic Sea.