Ljubljana is the capital and largest city of Slovenia. It has been the cultural, educational, economic, political, and administrative center of independent Slovenia since 1991. Its central geographic location within Slovenia, transport connections, concentration of industry, scientific and research institutions, and cultural tradition are contributing factors to its leading position. During antiquity, a Roman city called Emona stood in the area. Ljubljana itself was first mentioned in the first half of the 12th century. It was under Habsburg rule from the Middle Ages until the dissolution of the Austro-Hungarian Empire in 1918. Situated at the middle of a trade route between the northern Adriatic Sea and the Danube region, it was the historical capital of Carniola, a Slovene-inhabited part of the Habsburg Monarchy.