 It reached to the Friulian Isonzo valley, but not the river itself.This change in its geographical constitution was accompanied by increased interest on the part of nearby landlocked powers.In 1245, Patriarch Berthold gave Carniola to the Babenberg duke Frederick II of Austria, husband of Agnes of Merania, with royal consent.