War of the League of Cambrai
The lands on the upper Soča River were finally annexed to the Inner Austrian lands under Emperor Maximilian I during the War of the League of Cambrai in 1509 and added to the County of Gorizia ("Görz") in the south, which Maximilian had inherited in 1500.