The History of Ljubljana: from the World’s Oldest Wheel to a Modern Capital
Quick facts
- Prehistory
- pile dwellers on the Ljubljana Marshes some 5,000 years ago
- Around 3200 BC
- the oldest known preserved wooden wheel with an axle
- AD 14–15
- Roman Emona already standing
- 12th–13th century
- first written records and town rights
- 1809–1813
- capital of Napoleon’s Illyrian Provinces
- 1895
- the great earthquake and the rebuilding of the city
- 1991
- capital of independent Slovenia
- 2026
- a modern European capital of about 300,000 people
How would you like to read?
Pile dwellers lived on the Ljubljana Marshes some 5,000 years ago. Around 3200 BC the oldest known preserved wooden wheel with an axle was made there.
By AD 14 or 15 a Roman colony with walls, drains and several thousand inhabitants stood on the site of today’s city centre.
First written records in the early 12th century, town rights around 1220, and Habsburg rule from 1278.
Primož Trubar published the first Slovenian books in 1550. In the 17th and 18th centuries the city gained its baroque face, churches, palaces and its first learned societies.
From 1809 to 1813 Ljubljana was capital of the Illyrian Provinces; in 1821 it hosted the congress of the Holy Alliance.
Prešeren’s Ljubljana, the arrival of the railway in 1849 and the national awakening.
The Easter earthquake damaged the city and was followed by extensive rebuilding, Art Nouveau architecture and modern infrastructure.
The University of Ljubljana was founded in 1919, and from 1921 Plečnik redrew the face of the city.
Occupation, resistance and, in 1942, some 30 kilometres of barbed wire around the city.
Industry, new housing estates, Ravnikar’s Republic Square and, in the 1980s, a strong alternative culture scene.
Ljubljana became the capital of independent Slovenia and, after 2000, gradually closed its centre to traffic and turned it over to pedestrians.
A City That Began in a Marsh
Ljubljana has an unusual history.
Today we know it as a small European capital with a castle, a river, plenty of bridges and a centre you can hardly cross without meeting at least three people you know.
But its story didn’t begin among the houses of the Old Town.
It began in a marsh.
On the Ljubljana Marshes, people were building pile dwellings some five thousand years ago — wooden houses on stilts above the water and swampland.
And it was there that one of Europe’s most important archaeological finds was made: the oldest known preserved wooden wheel with an axle in the world, roughly 5,200 years old.
So although people on the Ljubljana Marshes lived in wooden houses above a swamp, they were already building carts.
Some five millennia later, the people of Ljubljana are still rather preoccupied with traffic. The problems have just changed a little.
Emona: When the Romans Arrived
The area of today’s Ljubljana was of interest long before the Romans arrived. The reason was simple: location.
The Ljubljana Basin is a natural passage between the Alps, the Pannonian plain, the Balkans and northern Italy. Whoever controlled traffic through it held an important strategic advantage. The Romans understood that too.
A Roman town in the middle of today’s Ljubljana
In the early 1st century AD they founded the colony of Julia Emona on the site of today’s city centre. By AD 14 or 15 the town certainly existed.
Emona was not a small village with a few Roman soldiers but a proper Roman town, built to a plan. It had walls, a rectangular street grid, a central square, public buildings, drains and heating systems in some houses.
Several thousand people lived there, often estimated at around 5,000: merchants, craftsmen, officials, war veterans and their families.
If you could walk through Emona, you would probably meet people speaking Latin, traders from across the empire and children playing in the streets. You would see wall paintings in the houses, mosaics on the floors and sewers beneath the streets.
For a town two thousand years old, quite decent infrastructure. Our walk through Emona follows what is left of it.
When Emona began to disappear
But the Roman empire did not last forever.
In the 4th and 5th centuries conditions across Europe began to change. The empire was shaken by wars, internal conflicts and migrations. By tradition, Emona was devastated in 452 by the Huns during Attila’s campaign towards Italy.
The town did not vanish overnight, but it gradually lost its people and its former importance. In late antiquity Roman urban life here died out.
Its walls decayed, later inhabitants reused its stone for new buildings, and the memory of Emona slowly faded.
Today you can still see the remains of the Roman town at Mirje and in the archaeological parks. Two thousand years on, part of the old wall is still there — which is more than can be said for many far newer buildings.
The Middle Ages: Ljubljana Gets Its Name
After Emona’s collapse, the area went through several centuries of great change. At the end of the 6th century the Slavic ancestors of today’s Slovenes settled the wider region, and settlements began to form at the foot of Castle Hill and along the river.
But it took considerably longer for a medieval town to appear.
From wooden settlements to a walled town
Ljubljana first appears in written sources in the early 12th century, between 1112 and 1125. The city later also became known by its German name, Laibach.
In the 13th century it grew quickly. Three town cores developed: Stari trg, Mestni trg and Novi trg, ringed by walls, with several gates leading into the town.
Around 1220 Ljubljana gained town rights, which meant organised trade, its own municipal administration and other privileges.
Ljubljana was becoming an important centre of trade and crafts. Medieval life, though, was not especially comfortable. The streets were narrow, the houses often wooden, fires frequent and hygiene rather different from today’s.
If you could bring a medieval resident of Ljubljana into the modern city, running water would probably impress them most. Or the fact that we no longer have to go out to the courtyard to use the toilet.
The Habsburgs arrive
In 1278 Ljubljana, together with Carniola, came under Habsburg rule — one of the most important political turning points in its history.
Ljubljana remained tied to the Habsburg state for more than six centuries, until the collapse of Austria-Hungary in 1918. It gradually established itself as the main town of Carniola, a province covering much of today’s Slovenian territory.
This was not yet a Slovenian capital in the modern sense. But it was beginning to take on the role of a city where power, trade and culture came together. The story of Ljubljana Castle, which took shape in the same period, we tell separately.
The Reformation: When Slovenian Got Its First Books
In the 16th century a religious and cultural movement swept Europe and changed its development profoundly: the Reformation.
In 1517 Martin Luther‘s demands for church reform set off events that eventually divided much of Christian Europe. His ideas reached Ljubljana too.
Primož Trubar and the beginning of Slovenian literature
In this period Ljubljana became one of the more important centres of Slovenian Protestantism. The key figure of the Slovenian reformation movement was Primož Trubar.
In 1550 he published the first two Slovenian books, the Catechism and the Abecedarium. They were not printed in Ljubljana, but they laid the foundations of the Slovenian literary language.
During the Reformation the city also gained a printing press, important book collections and educational initiatives.
Then came the Counter-Reformation, through which the Habsburg authorities and the Catholic Church gradually restored Catholic dominance. Protestantism was pushed to the margins, preachers had to leave the land, and Protestant books were in places publicly burned.
But one thing could not simply be erased: the Slovenian literary language. That remained.
Baroque Ljubljana: a City of Churches, Palaces and Scholars
In the 17th and 18th centuries Ljubljana gradually took on the appearance we still recognise in the Old Town. After earthquakes, fires and many rebuildings, baroque churches, palaces and townhouses began to appear.
Distinctive façades, decorated portals and church towers gave the city a far more lavish look. But the baroque was not only architecture.
A city that began to think a little bigger
In 1693 the Academia operosorum Labacensium was founded, a society of scholars who wanted to promote science, art and education.
In 1701 came the Academia philharmonicorum, one of the first such musical societies outside Italy.
Ljubljana was still a relatively small provincial town, but its cultural life was becoming increasingly connected to European currents.
The city may have been small. Its ambitions clearly rather less so.
Napoleon: When Ljubljana Was a Capital for Four Years
In 1809 something happened that the people of Ljubljana would have struggled to imagine only decades earlier. The French arrived.
After his war with Austria, Napoleon Bonaparte created the Illyrian Provinces, a new administrative territory of the French Empire. He chose Ljubljana as their capital.
A French capital below Castle Hill
Between 1809 and 1813 Ljubljana became the administrative centre of a territory reaching far towards the Adriatic. The first governor general was Napoleon’s marshal Auguste Marmont.
The French introduced reforms in administration, schooling and law, and Slovenian gained a more important role in education.
The Ljubljana Botanical Garden, one of the oldest continuously operating botanical gardens in Europe, was also founded at this time.
French rule was short and not always popular, but it left important traces. In 1813 the French withdrew and Ljubljana returned to Austrian rule.
Napoleon’s Illyrian Provinces disappeared. The botanical garden remained. In the same period a French plan also laid out what became Tivoli Park.
The Congress of Laibach: When Europe Came to a Small Town
Only a few years after Napoleon’s defeat, Ljubljana hosted one of the greatest diplomatic events in its history. In 1821 it was the venue for the congress of the Holy Alliance.
The Austrian emperor Francis I, the Russian tsar Alexander I, the influential Austrian diplomat Klemens von Metternich and representatives of European states all came to the city.
Ljubljana then had around twenty thousand inhabitants. For a few months it became the centre of European politics.
Deciding the fate of other nations
After the Napoleonic wars, Europe’s rulers were trying to preserve political order and prevent the spread of revolutionary movements. The congress also discussed military intervention against revolutions in Italy.
The event brought diplomats, soldiers, nobles, court staff and many visitors to the city. Ljubljana had to arrange accommodation, receptions, social events and all the logistics of a major international gathering.
In memory of the congress, one of the city’s most important squares was named Kongresni trg — Congress Square.
Today people sit there in the sun, stroll and go to concerts. Two centuries ago the great powers of Europe were deciding there how to suppress revolutions. A rather different agenda.
The 19th Century: Trains, Poets and a National Awakening
After the Napoleonic period, Ljubljana gradually began to change from a provincial town into an important Slovenian cultural centre. This was a time of national awakening, of growing education, literature and an ever stronger Slovenian cultural identity.
Prešeren’s Ljubljana
In the first half of the 19th century France Prešeren, today the best-known Slovenian poet, worked in the city. His poetry became one of the foundations of Slovenian literature, and part of his poem Zdravljica is now the Slovenian national anthem.
Prešeren was an educated lawyer, an outstanding poet and a man with a rather complicated private life. Ljubljana did not always return his affection.
His unhappy love for Julija Primic became part of the city’s literary history, and his monument on Prešeren Square still faces the house where she once lived. Prešeren’s Walk follows his places.
The muse stayed. Ljubljana survived.
The railway arrives
In 1849 the first train pulled into Ljubljana. The rail link with Vienna was a major change.
The city was now connected far more quickly with other parts of the monarchy. In 1857 the line to Trieste was completed.
Trade, travel and industry took on new dimensions. Ljubljana was slowly approaching the modern world.
The 1895 Earthquake: a Disaster That Changed the City
On Easter Sunday, 14 April 1895, a powerful earthquake struck Ljubljana, damaging many buildings and causing widespread destruction.
The city, then home to about 31,000 people, needed a thorough rebuilding. But the disaster also opened the possibility of giving Ljubljana a new face.
From ruins to a modern city
In the following years new streets, public buildings and houses went up. Mayor Ivan Hribar and the architect Maks Fabiani played important roles in the reconstruction.
Ljubljana gained Art Nouveau architecture, modern infrastructure, electric lighting, a water supply and transport links. In 1901 the first tram ran through the city’s streets.
If you walk along Miklošičeva cesta today or admire the Art Nouveau buildings in the centre, you are also looking at the consequences of that disaster. We present some of them in Buildings of Ljubljana.
Sometimes history moves because of great ideas. Sometimes because of moving tectonic plates.
The First World War and a New State
In 1914 the First World War began. Ljubljana did not become a major battlefield, but its people felt the war’s consequences: mobilisation, food shortages, wounded soldiers and uncertainty marked everyday life.
In 1918 Austria-Hungary collapsed, ending more than six centuries of Habsburg rule over Ljubljana.
Slovenian territory became part of a new South Slavic state, the Kingdom of Serbs, Croats and Slovenes, later the Kingdom of Yugoslavia. Ljubljana became an important Slovenian political, cultural and educational centre.
The city gains a university
The University of Ljubljana was founded in 1919 — a major turning point for Slovenian science and education. Students no longer had to go to Vienna, Graz or Prague to study at university.
Ljubljana gained an institution that profoundly shaped the development of the Slovenian language, culture, medicine, law and science.
But the city’s most recognisable face in this period came from a single architect.
Plečnik: the Man Who Redrew the City
Before returning to Ljubljana, Jože Plečnik had already worked in Vienna and Prague. When he came home in 1921, he had the chance to realise his architectural ideas on a far larger scale.
And Ljubljana became his life’s project.
A capital built to human scale
Plečnik did not simply want to put up individual buildings. He wanted to shape the city as a whole.
He laid out the embankments of the Ljubljanica, designed the Triple Bridge, the National and University Library, the Žale cemetery, the markets, numerous public spaces and other important city arrangements.
He drew on ancient architecture, but adapted it to a modern city.
His Ljubljana was not conceived as a vast metropolis with monumental avenues, but as a city with room for people to walk, meet and spend time together.
Not all of his ideas were immediately popular. When he redesigned the promenade in Tivoli, locals nicknamed it the Sahara because he removed trees and widened the gravel path.
Over the years, though, Plečnik’s works became among the city’s most recognisable symbols. In 2021 selected works of Plečnik in Ljubljana were inscribed on the UNESCO World Heritage List.
The architect who once annoyed the walkers of Tivoli thus helped the city win international architectural recognition.
The Second World War: a City behind Barbed Wire
In 1941 the Second World War reached Ljubljana. After the Axis attack on Yugoslavia, the city was occupied by the Italian army; after Italy’s capitulation in 1943 the Germans took over.
But Ljubljana has one more particular story from this period.
The city they surrounded with wire
In 1942 the Italian occupying authorities erected some 30 kilometres of barbed wire around Ljubljana. Its purpose was to control the population and cut links between the city and the resistance movement outside.
Ljubljana became a city of controlled crossings, bunkers and military checkpoints. For its inhabitants that meant restricted movement, arrests, searches and daily life under occupation.
A resistance movement operated in the city, while the war years were also marked by political and ideological conflict among Slovenes. The occupation ended in May 1945.
Today much of the former route of the wire is followed by the Path of Remembrance and Comradeship, one of Ljubljana’s most important recreational and memorial trails.
Where bunkers and military barriers once stood, people now walk, run and cycle. It would be hard to imagine a more different use of the same space.
Socialist Ljubljana: Factories, Blocks and New Neighbourhoods
After the Second World War Slovenia became one of the six republics of socialist Yugoslavia, with Ljubljana as its capital.
In the following decades the city changed rapidly. Industry expanded, the population grew, and new housing estates went up far faster than before.
From a small town to a modern capital
New districts, apartment blocks, schools, health facilities and sports venues appeared.
Large companies such as Litostroj, Iskra and other industrial firms employed thousands of people. Ljubljana spread towards Šiška, Moste, Bežigrad and Vič.
The architect Edvard Ravnikar and his collaborators designed important parts of the post-war city, among them the central space of Republic Square.
In 1965 Tivoli Hall was completed, hosting major sporting events and concerts by world-famous musicians in the decades that followed.
And in the 1970s and 1980s Ljubljana became an important centre of alternative culture.
Punk, art and a new generation
In the 1980s Ljubljana was one of the more interesting centres of alternative culture in Yugoslavia. Punk bands, artistic collectives, independent media and new social movements raised questions that did not always suit the official politics of a socialist state.
Laibach and the art collective Neue Slowenische Kunst emerged from this environment.
Ljubljana was becoming a place of cultural experiment, criticism of the authorities and new ideas.
While people went to work and school by day, at night clubs, galleries and other spaces gave rise to cultural movements that later gained international recognition. Some of those venues are still running — we describe them in our piece on nightlife.
The city may still have been relatively small. But clearly big enough for a good many different views of the world.
1991: Ljubljana Becomes the Capital of an Independent Slovenia
At the end of the 1980s Yugoslavia fell into a deep political and economic crisis. In Slovenia, demands for democratisation and greater autonomy grew stronger.
In the plebiscite of December 1990 a large majority of those who voted backed Slovenian independence.
On 25 June 1991 Slovenia declared independence. Ljubljana became the capital of a new state.
The Ten-Day War
Independence was followed by armed conflict between Slovenian defence forces and the Yugoslav People’s Army.
The war lasted about ten days and ended with a ceasefire agreement and the later withdrawal of the Yugoslav army from Slovenia.
Republic Square, where independence was proclaimed, became one of the most important symbolic spaces of the new state.
For the first time in modern history, Ljubljana was the capital of an internationally recognised independent Slovenia.
A former provincial town of the Habsburg monarchy and republican capital of Yugoslavia took on a new role. This time not as part of a larger state, but as its centre.
From 1991 to 2026: Ljubljana Looks for Its Modern Face
After independence Ljubljana began to change economically and socially as well. Former industrial systems were restructured, new companies opened, and services, tourism and a contemporary cultural scene developed.
In 2004 Slovenia joined the European Union and in 2007 adopted the euro. Ljubljana became ever more closely connected to the European space.
But one of the biggest changes had nothing to do with national politics or the economy. It had to do with the city’s streets.
When the centre became a place for people again
In the first decade of the 21st century Ljubljana began gradually restricting car traffic in the city centre.
Slovenska cesta and many other parts of the centre took on a different look. The Ljubljanica embankments, many squares, bridges and footpaths were redesigned.
Places where cars once parked turned into pedestrian areas, terraces and public life. Tourism also became a more important part of the city’s economy.
Ljubljana began gaining international recognition as a relatively small, green, pedestrian-friendly European capital. In 2016 it was named European Green Capital.
That did not mean all its traffic, environmental and housing problems disappeared overnight. But it did mean the city received important European recognition for its development.
Ljubljana in 2026
Today Ljubljana remains the political, cultural, university and economic centre of Slovenia, with nearly 300,000 inhabitants in the settlement or municipality, depending on the statistical definition.
The city continues to develop. Transport links, public spaces, housing areas and former industrial zones are all changing.
At the same time it faces the challenges familiar to most modern European capitals: housing affordability, traffic congestion, the pressure of tourism and the question of how to preserve quality of life while continuing to grow.
Ljubljana today is no longer a provincial town on the edge of great empires. It is the capital of an independent European state, trying to reconcile its historical heritage with the needs of a modern city.
And perhaps its greatest peculiarity is just how close its different historical periods are to each other.
In a few minutes’ walk you can go from a Roman wall to medieval streets, baroque palaces, Plečnik’s architecture and contemporary city design.
Few cities offer such a long walk through history over such a short distance.
A City That Is Still Changing
If a pile dweller from the Ljubljana Marshes walked through the city today, they would probably be rather astonished.
Their wooden wheel was an extraordinary technological achievement five millennia ago. Today electric cars, buses, trains and bicycles move through Ljubljana — and people still complain about the traffic.
If a Roman resident of Emona returned, they might recognise a few streets and the remains of the wall. A medieval townsperson would probably feel most at home on Stari trg.
Plečnik would most likely be pleased that people still use his bridges, markets and promenades. He might have a comment or two about some newer building.
But that is exactly the point of Ljubljana. It is not a city that was built once and for all.
It is a city that has been built, demolished, restored and reshaped over millennia by very different people.
Pile dwellers, Romans, medieval merchants, Habsburg officials, French soldiers, Slovenian poets, architects, industrial workers and today’s residents.
Each generation added something of its own. And the Ljubljana we know in 2026 is the result of all of them.
From a wooden wheel in the middle of a marsh to the capital of an independent state.
Quite a long journey. And it isn’t over yet.
