(Notranjska), in the southwest, around the towns of Idrija and Postojna. Until 1860, these sub-regions coincided with the districts (Kreise) of Ljubljana, Novo Mesto and Postojna. They were later divided into smaller units, called political (or administrative) districts (, ). Between 1861 and 1918, Carniola was divided into eleven districts consisting of 359 municipalities (, ), with the provincial capital serving as the residence of the imperial governor (Landeshauptmann). The districts were: Kamnik, Kranj, Radovljica, the neighbourhood of Ljubljana, Logatec, Postojna, Litija, Krško, Novo Mesto, Črnomelj, and Kočevje. The political districts were in turn divided into 31 judicial circuits (, ). History and administration The former March of Carniola, i.e., Upper Carniola and the Windic March, had been separated from the Duchy of Carinthia in 1040 by King Henry III of Germany. It was nevertheless temporarily still held by the Carinthian rulers in personal union, like the Meinhardiner duke Henry VI, who died in 1335 without a male heir. His daughter Margaret was able to keep the County of Tyrol, while the Wittelsbach emperor Louis IV passed Carinthia and Carniolan march to the Habsburg duke Albert II of Austria, whose mother, Elisabeth of Carinthia is a sister of the late duke Henry of Gorizia. Albert's son Rudolf IV of Austria, "the Founder", in the course of his Privilegium Maius, awarded himself the title of a "Duke of Carniola" in 1364—though without consent by the Holy Roman Emperor. Rudolph also founded the town of Novo Mesto in Lower Carniola, then named Rudolphswerth. After his death, as a result of the quarrels between his younger brothers Albert III and Leopold, Carniola by the 1379 Treaty of Neuberg became part of Inner Austria ruled from Graz by Leopold, ancestor of the Habsburg Leopoldian line. In 1457, the Inner Austrian territories were re-united with the Archduchy of Austria under the rule of the Habsburg emperor Frederick III. When Frederick's descendant, Emperor Ferdinand I, died in 1564, Carniola was separated again as part of Inner Austria under the rule of Ferdinand's son Archduke Charles II. Charles' son, Emperor Ferdinand II, inherited all the dynasty's lands in 1619 and the duchy formed a constituent part of the Habsburg monarchy ever since. In the late 15th century, as part of the Habsburg westward expansion, the Duchy of Carniola acquired many new territories: Idrija (previously part of Friuli), Duino and the surrounding parts of the Karst Plateau, Kastav,