The capital city Ljubljana was historically the administrative centre of Carniola and belonged to Inner Carniola, except for the Šentvid district, which was in Upper Carniola and also where the border between German-annexed territory and the Italian Province of Ljubljana was during the Second World War.