Ljubljana (spoken Slovene: Lublana; also known by other historical names) is the capital and largest city of Slovenia, located along a trade route between the northern Adriatic Sea and the Danube region, north of the country's largest marsh, it has been inhabited since prehistoric times. It is the country's cultural, educational, economic, political and administrative centre and the seat of the Urban Municipality of Ljubljana.

During antiquity, a Roman city called Emona stood in the area. The city was first mentioned in the first half of the 12th century. It was the historical capital of Carniola, one of the Slovene-inhabited parts of the Habsburg monarchy. It was under Habsburg rule from the Middle Ages until the dissolution of the Austro-Hungarian Empire in 1918. After World War II, Ljubljana became the capital of the Socialist Republic of Slovenia, part of the Socialist Federal Republic of Yugoslavia. The city retained this status until Slovenia became independent in 1991 and Ljubljana became the capital of the newly formed state.

Name

The exact origin of the name Ljubljana is unclear. In medieval times, both the river and the town were also called Laibach () in German. This name was used within the region until 1918 and continues to be used in German. In Italian, the city is referred to as Lubiana, and in Latin, it is known as Labacum. An archaic English form of the city's name is Lublyana, used primarily by Slovene Americans.

The German name was first documented in 1144, and the Slovenian form appeared in records as early as 1146. The 10th-century work Life of Gregentios provides the Greek variant (Lyplianés) and situates it among the Avars in the 6th century. This account is influenced by an earlier northern Italian source written shortly after the conquest of 774., pp. 14–17 and 190.

The connection between the Slovene and German names has posed a puzzle for scholars. In 2007, linguist Tijmen Pronk, an authority in comparative Indo-European linguistics and Slovene dialectology from the University of Leiden, provided strong support for the theory that the Slavic ljub- 'to love, like' was the most likely origin. He argued that the river's name likely stemmed from the settlement's name. Silvo Torkar, a linguist with expertise in Slovene names, put forth the idea that Ljubljana's name has its roots in Ljubija, the original name of the Ljubljanica River. This can be traced back to the Old Slavic male name Ljubovid, which translates to 'the one with a lovely appearance'. Torkar also asserted that the name Laibach is a combination of German and Slovene, sharing its origins with the same personal name.

Dragon symbol The city's symbol is the Ljubljana Dragon. It is depicted on the top of the tower of Ljubljana Castle in the Ljubljana coat of arms and on the Ljubljanica-crossing Dragon Bridge (). It represents power, courage, and greatness.

Several explanations describe the origin of the Ljubljana Dragon. According to a Slavic myth, the slaying of a dragon releases the waters and ensures the fertility of the earth, and it is thought that the myth is tied to the Ljubljana Marsh, the expansive marshy area that periodically threatens Ljubljana with flooding.Exhibition catalogue Emona: myth and reality ; Museum and Galleries of Ljubljana 2010 According to Greek legend, the Argonauts on their return home after having taken the Golden Fleece found a large lake surrounded by a marsh between the present-day towns of Vrhnika and Ljubljana. There Jason struck down a monster. This monster evolved into the dragon that today is present in the city coat of arms and flag.

It is historically more believable that the dragon was adopted from Saint George, the patron of the Ljubljana Castle chapel built in the 15th century. In the legend of Saint George, the dragon represents the old ancestral paganism overcome by Christianity. According to another explanation, related to the second, the dragon was at first only a decoration above the city coat of arms. In the Baroque, it became part of the coat of arms and, in the 19th and especially the 20th century, it outstripped the tower and other elements in importance.

History

Prehistory Around 2000 BC, the Ljubljana Marsh was settled by people living in pile dwellings. Prehistoric pile dwellings and the oldest wooden wheel in the world are among the most notable archeological findings from the marshland. These lake-dwelling people survived through hunting, fishing and primitive agriculture. To get around the marshes, they used dugout canoes made by cutting out the inside of tree trunks. Their archaeological remains, nowadays in the Municipality of Ig, have been designated a UNESCO World Heritage Site since June 2011, in the common nomination of six Alpine states.

Later, the area remained a transit point, for groups including the Illyrians, followed by a mixed nation of the Celts and the Illyrians called the Iapodes, and then in the 3rd century BC a Celtic tribe, the Taurisci.

Antiquity

Around 50 BC, the Romans built a military encampment that later became a permanent settlement called Iulia Aemona. This entrenched fort was occupied by the Legio XV Apollinaris. Hildegard Temporini and Wolfgang Haase, Aufstieg und Niedergang der römischen Welt. de Gruyter, 1988. . Google Books, p.343 In 452, it was destroyed by the Huns under Attila's orders, and later by the Ostrogoths and the Lombards.Daniel Mallinus, La Yougoslavie, Éd. Artis-Historia, Brussels, 1988, D/1988/0832/27, p. 37-39. Emona housed 5,000 to 6,000 inhabitants and played an important role during battles. Its plastered brick houses, painted in different colours, were connected to a drainage system.

In the 6th century, the ancestors of the Slovenes moved in. In the 9th century, they fell under Frankish domination, while experiencing frequent Magyar raids. Not much is known about the area during the settlement of Slavs in the period between the downfall of Emona and the Early Middle Ages.

Middle Ages The parchment sheet Nomina defunctorum ("Names of the Dead"), most probably written in the second half of 1161, mentions the nobleman Rudolf of Tarcento, a lawyer of the Patriarchate of Aquileia, who had bestowed a canon with 20 farmsteads beside the castle of Ljubljana (castrum Leibach) to the Patriarchate. According to the historian Peter Štih's deduction, this happened between 1112 and 1125, the earliest mention of Ljubljana.

The property changed hands repeatedly until the first half of the 12th century. The territory south of the Sava where Ljubljana developed, gradually became property of the Carinthian Dukes of the House of Sponheim. Urban settlement started in the second half of the 12th century. At around 1200, market rights were granted to Old Square (), which at the time was one of Ljubljana's three original districts. The other two districts were an area called "Town" (), built around the predecessor of the present-day Ljubljana Cathedral at one side of the Ljubljanica River, and New Square () at the other side. The Franciscan Bridge, a predecessor of the present-day Triple Bridge, and the Butchers' Bridge connected the walled areas with wooden buildings. Ljubljana acquired the town privileges at some time between 1220 and 1243. Seven fires erupted during the Middle Ages. Artisans organised themselves into craft guilds. The Teutonic Knights, the Conventual Franciscans, and the Franciscans settled there. In 1256, when the Carinthian duke Ulrich III of Spanheim became lord of Carniola, the provincial capital was moved from Kamnik to Ljubljana.

In the late 1270s, Ljubljana was conquered by King Ottokar II of Bohemia. (includes timeline) In 1278, after Ottokar's defeat, it became—together with the rest of Carniola—property of Rudolph of Habsburg. It was administered by the Counts of Gorizia from 1279 until 1335, when it became the capital town of Carniola. Renamed Laibach, it was owned by the House of Habsburg until 1797. In 1327, the Ljubljana's "Jewish Quarter"—now only "Jewish Street" () remains—was established with a synagogue, and lasted until Emperor Maximilian I in 1515 and expelled the Jews from Ljubljana at the request of its citizens, for which he demanded a certain payment from the town. In 1382, in front of St. Bartholomew's Church in Šiška, at the time a nearby village, now part of Ljubljana, a peace treaty was signed between the Republic of Venice and Leopold III of Habsburg.

Early modern

In the 15th century, Ljubljana became recognised for its art, particularly painting and sculpture. The Latin Catholic Archdiocese of Ljubljana was established in 1461 and the Church of St. Nicholas became the diocesan cathedral. After the 1511 Idrija earthquake, the city was rebuilt in the Renaissance style and a new wall was built around it. Wooden buildings were forbidden after a large fire at New Square in 1524.

In the 16th century, the population of Ljubljana numbered 5,000, 70% of whom spoke Slovene as their first language, with most of the rest using German. The first secondary school, public library and printing house opened in Ljubljana. Ljubljana became an important educational centre.

From 1529, Ljubljana had an active Slovene Protestant community. They were expelled in 1598, marking the beginning of the Counter-Reformation. Catholic Bishop Thomas Chrön ordered the public burning of eight cartloads of Protestant books.Rajhman, Jože, & Emilijan Cevc. 1990. Tomaž Hren. Enciklopedija Slovenije, vol. 4, pp. 50–51. Ljubljana: Mladinska knjiga.Lutar Ivanc, Aleksandra. 2006. Album slovenskih književnikov. Ljubljana: Mladinska knjiga, p 14.

In 1597, the Jesuits arrived, followed in 1606 by the Capuchins, seeking to eradicate Protestantism. Only 5% of all the residents of Ljubljana at the time were Catholic, but eventually they re-Catholicized the town. The Jesuits staged the first theatre productions, fostered the development of Baroque music, and established Catholic schools. In the middle and the second half of the 17th century, foreign architects built and renovated monasteries, churches, and palaces and introduced Baroque architecture. In 1702, the Ursulines settled in the town, and the following year they opened the first public school for girls in the Slovene Lands. Some years later, the construction of the Ursuline Church of the Holy Trinity started. In 1779, St. Christopher's Cemetery replaced the cemetery at St. Peter's Church as Ljubljana's main cemetery.

Late modern

From 1809 to 1813, during the "Napoleonic interlude", Ljubljana (as Laybach) was the capital of the Illyrian Provinces. In 1813, the city returned to Austria and from 1815 to 1849 was the administrative centre of the Kingdom of Illyria in the Austrian Empire. In 1821, it hosted the Congress of Laibach, which fixed European political borders for that period. The first train arrived in 1849 from Vienna and in 1857 the line extended to Trieste.

In 1895, Ljubljana, then a city of 31,000, suffered a severe earthquake with a moment magnitude of 6.1 and a maximum EMS intensity of VIII–IX ("heavily damaging – destructive"). 21 people died due to the earthquake and some 10% of the city's 1,400 buildings were destroyed. During the subsequent reconstruction, some districts were rebuilt in the Vienna Secession style. Public electric lighting arrived in 1898. The rebuilding period between 1896 and 1910 is referred to as the "revival of Ljubljana" because of architectural changes that defined the city and for reform of urban administration, health, education and tourism. The rebuilding and quick modernisation of the city were led by the mayor Ivan Hribar.

In 1918, following the dissolution of Austria-Hungary, the region joined the Kingdom of Serbs, Croats and Slovenes. In 1929, Ljubljana became the capital of the Drava Banovina, a Yugoslav province.