History
A short history of Slovenia, told to make sense of what you'll see
In a nutshell
Slovenia's history is that of a young state on ancient ground, from prehistoric pile dwellings at Ig and Roman towns such as Emona (Ljubljana), Celeia (Celje) and Poetovio (Ptuj) to Carniola, first recorded in 973, and the first books in Slovenian in 1550. After centuries under the Habsburgs and more than seventy years in Yugoslavia came independence on 25 and 26 June 1991.
Quick facts
- Roman towns
- Emona, Celeia, Poetovio
- Carniola
- First recorded 973, duchy 1364
- First books in Slovenian
- 1550, Primož Trubar
- Plebiscite
- 23 December 1990
- Independence
- 25 and 26 June 1991
- EU and NATO
- 2004
The essentials in a few lines
Full read: 3 min
- Slovenia has prehistoric pile dwellings, three big Roman towns and medieval Carniola.
- The first books printed in Slovenian date from 1550, by Primož Trubar.
- It was part of the Habsburg lands and, from 1918 to 1991, of Yugoslavia.
- It declared independence on 25 and 26 June 1991.
I understand Slovenian history better on the road than in a book. I'd follow it in four stops, Ptuj for the Romans, Celje for the counts, the Kobarid Museum for the First World War and Ljubljana for the rest.
My key points
What I would keep in mind
-
01 Most beautiful
Three Roman towns you can still walk
The Slovenian government names Emona, forerunner of Ljubljana, Celeia, now Celje, and Poetovio, now Ptuj, as the three main Roman towns. In Celje the remains lie in the basement of the Princely Court.
Ptuj -
02 My tip
The Isonzo Front, in the Soča Valley
From Italy's entry into the war in 1915, the Soča became one of the bloodiest fronts of the First World War. The Kobarid Museum explains it better than any book.
Kobarid Museum -
03 Getting there
Ten days of war in 1991
After the declaration of 26 June 1991 an armed conflict with the Yugoslav People's Army followed, the Ten-Day War, which ended with the Brioni Declaration on 7 July.
Slovenia Independence Day -
04 Most beautiful
The Counts of Celje
In the 14th and 15th centuries the Counts of Celje were among the region's most powerful families; Barbara of Celje became Holy Roman Empress, according to the government.
Celje Castle
My checklist before setting off
Slovenian history in dates
| Date | What happened |
|---|---|
| Prehistory | Pile dwellings in the Ljubljana Marshes; Hallstatt culture in the Iron Age |
| Roman period | Emona, Celeia and Poetovio; the Claustra Alpium Iuliarum defences |
| 6th and 7th centuries | Slavic-speaking settlers arrive; Carantania |
| 973 | First mention of Carniola |
| 1364 | Carniola becomes a duchy |
| 1550 | Trubar publishes the first printed books in Slovenian |
| 1584 | Dalmatin's Bible and Bohorič's grammar |
| 1809-1813 | Illyrian Provinces, governed from Ljubljana |
| 1848 | The United Slovenia programme |
| 1915-1917 | Soča (Isonzo) Front |
| 1918 and 1929 | Kingdom of Serbs, Croats and Slovenes; Kingdom of Yugoslavia |
| 1941-1945 | Occupation by Germany, Italy and Hungary, and resistance |
| 1945 | Slovenia becomes a republic of socialist Yugoslavia |
| 23 Dec 1990 | Plebiscite: 88.5% of all voters back independence |
| 25 and 26 June 1991 | Independence acts and declaration |
| 7 July 1991 | Brioni Declaration ends the Ten-Day War |
| 22 May 1992 | Joins the United Nations |
| 2004 and 2007 | NATO and EU; euro and Schengen |
Government of Slovenia, «History of Slovenia», checked on 4 and 15 October 2026.
What I would book
From pile dwellings to Rome
The earliest traces you can visit are in the Ljubljana Marshes, where people built prehistoric pile dwellings; those at Ig are now World Heritage, part of a listing shared by six Alpine countries. The Iron Age brought the Hallstatt culture, and in Roman times the area had three main towns, Emona, forerunner of Ljubljana, Celeia, today’s Celje, and Poetovio, today’s Ptuj, plus smaller centres such as Nauportus at Vrhnika. Rome also built a defensive system here, the Claustra Alpium Iuliarum, with forts such as Ad Pirum at Hrušica. For this period I’d start in Ptuj.
Slavs, Carniola and the Counts of Celje
Between the 6th and 7th centuries a Slavic-speaking population settled the area. Carantania emerged, a principality centred north of present-day Slovenia, in what is now Austrian Carinthia, and Christianity arrived from Aquileia and Freising. Carniola is first recorded in 973 and had become a duchy by 1364. In the 14th and 15th centuries the Counts of Celje dominated the scene, with figures such as Anne of Celje, Queen of Poland, and Barbara of Celje, Holy Roman Empress through her marriage to Sigismund of Luxembourg. It was also the time of Ottoman raids.
Trubar, the written language and Napoleon
My favourite moment in Slovenian history comes in 1550. In 1550 the first books ever printed in Slovenian appeared, Primož Trubar’s catechism and primer, and in 1584 came the Bible translated by Jurij Dalmatin and the grammar written by Adam Bohorič. More than two centuries later, between 1809 and 1813-1814, part of the territory passed to Napoleon’s empire as the Illyrian Provinces, with Ljubljana as the seat of the governor-general. In 1848 the United Slovenia programme called for all Slovene-speaking lands in the empire to be brought together in one administrative unit. How that history lives on in the language is in the language of Slovenia.
Once your dates are set, check which hotels are still free in Ljubljana before prices climb.
The Isonzo Front and Yugoslavia
The First World War hit hard from 1915, when Italy entered the war and the Soča Front opened, the Isonzo of the history books, which the government calls one of the bloodiest fronts of the conflict. When Austria-Hungary collapsed, the central Slovene lands joined the Kingdom of Serbs, Croats and Slovenes, renamed the Kingdom of Yugoslavia in 1929. After the 1920 Carinthian plebiscite part of the Slovene population stayed in Austria, and the Littoral, Gorizia, the Trieste hinterland and part of Istria came under Italian rule.
In April 1941 the Axis attack brought down the Kingdom of Yugoslavia, and Slovene territory was carved up between Germany, Italy and Hungary, with a small part annexed to the Independent State of Croatia. Occupation brought deportations and repression as well as organised resistance around the Liberation Front, and the government itself describes those years as particularly complex, with a difficult legacy. After 1945 Slovenia was a republic within socialist Yugoslavia, which broke with the Soviet Union in 1948, while the western border was settled in stages, through the London Memorandum of 1954 and the Treaty of Osimo of 1975.
Independence in 1991
In April 1990 Slovenia held its first multi-party elections since the Second World War, and on 23 December that year a plebiscite saw 88.5% of all eligible voters, 95% of those who voted, back independence. The Assembly passed the independence acts on 25 June 1991 and the declaration followed on the 26th. An armed conflict with the Yugoslav People’s Army followed, the so-called Ten-Day War, which ended with the Brioni Declaration on 7 July 1991. International recognition came in early 1992, and on 22 May that year Slovenia joined the UN. What each date means today is in Slovenia’s Independence Day. The national symbols, with Triglav on the coat of arms, are explained in Slovenia flag.
Once your dates are set, check which hotels are still free in Ljubljana before prices climb.
From Yugoslavia to the EU
The rest is recent. Slovenia joined the Council of Europe in 1993, NATO and the EU in 2004, the euro on 1 January 2007 and Schengen that December. For a traveller that means open borders and euros, as I explain in Slovenia in the EU. If I had just one day to make sense of all this, I’d spend it at Ljubljana Castle, around 900 years old and home to an exhibition on the country’s history.
Ptuj Castle and the old town rooftops above the Drava, seen from a bridge with a cycle and footpath
A room in the Kobarid Museum with display cases, war photographs on the walls and Austro-Hungarian and Italian flags
The crenellated walls of Celje's Old Castle and a ruined tower, with long grass and trees at their foot
Test yourself
True or false?
0/4 Pick before you peek.
-
Slovenia became independent from Yugoslavia in 1991.
See the answer
True. The independence acts were passed on 25 June and independence was declared on 26 June 1991.
-
The first printed books in Slovenian date from the 19th century.
See the answer
False. They date from 1550, when Primož Trubar published a catechism and a primer, according to the government.
-
Ljubljana was the seat of Napoleon's Illyrian Provinces.
See the answer
True. Between 1809 and 1813-1814 it housed the governor-general of the Illyrian Provinces, according to the Slovenian government.
-
The Isonzo Front was part of the Second World War.
See the answer
False. It was a First World War front, opened when Italy entered the war in 1915, along the Soča river.
- First mention of Carniola
- 973
- First printed books in Slovenian
- 1550
- Voters in favour at the 1990 plebiscite
- 88.5%
- Year of independence
- 1991
Frequently asked questions
When did Slovenia become independent?
The Assembly passed the independence acts on 25 June 1991 and the declaration followed on 26 June. A plebiscite on 23 December 1990 had seen 88.5% of all eligible voters back independence.
What country was Slovenia part of before?
Yugoslavia, from 1918 as the Kingdom of Serbs, Croats and Slovenes, renamed the Kingdom of Yugoslavia in 1929, and from 1945 as a republic of the socialist federation. Before that, for centuries, the Habsburg monarchy.
What was the Ten-Day War?
The armed conflict between Slovenia's Territorial Defence and police and the Yugoslav People's Army after the declaration of independence. It ended with European Community mediation and the Brioni Declaration on 7 July 1991.
What happened in Slovenia in the Second World War?
In April 1941 the territory was occupied and divided between Germany, Italy and Hungary, with a small part annexed to the Independent State of Croatia. There was organised resistance and harsh repression, and the government describes the period as particularly complex.
What was Slovenia called in Roman times?
There was no single name for the whole area. The government lists three main Roman towns, Emona (Ljubljana), Celeia (Celje) and Poetovio (Ptuj), plus smaller centres such as Nauportus (Vrhnika).
When did Slovenia join the UN?
On 22 May 1992, after international recognition in early 1992, starting with the twelve member states of the European Community.
0 of 425 Slovenia guides
Your next stamp
- Independence Day
- Facts
- Two weeks in Slovenia
- EU and Schengen
- Bogenšperk Castle
- Bogojina
- Debeli rtič
- Ig pile dwellings
- Jeruzalem
- Kolpa River
- Koper
- Lake Cerknica
- Lipica
- Ljubljana
- Ljubljana to Bled
- Mariborsko Pohorje
- Mount Snežnik
- Palace Portorož
- Park of Military History
- Plečnik House
- Postojna
- Postojna Cave
- Škocjan Caves
- Štanjel
- Tartini Square
- Trbovlje
- Županova jama
- Izola
- Kamnik
- Karst
- Ljubljana to Postojna
- Lovrenc Lakes
- Maribor
- Portorož
- Predjama Castle
- Things to do in Ljubljana
- Travel guide
- Vilenica Cave
- Zagorje ob Savi
- Celje
- Cerknica
- Domžale
- Hrastnik
- Ljubljana in a day
- Ljubljana to Piran
- Piran
- Slovenian Istria
- Strunjan
- Things to do
- Activities
- Ankaran
- Grosuplje
- Litija
- Ljubljana in two days
- Pivka
- Sečovlje salt pans
- Velenje
- Brežice Castle
- Getting around Ljubljana
- Ilirska Bistrica
- Mežica Mine
- Most beautiful places
- Novo mesto
- Sevnica Castle
- Terme Olimia
- Vrhnika
- Žiče Charterhouse
- Dolenjska
- Ig
- Prettiest villages
- Ptuj
- Sežana
- Divača
- Medvode
- Murska Sobota
- Posavje
- World Heritage
- Hrpelje-Kozina
- Logatec
- Map
- Mengeš
- Brezovica
- Komen
- Savinjska
- Where is Slovenia
- Bled
- Brežice
- Čatež ob Savi
- Celje Castle
- Coal Mining Museum
- Gorenjska
- Hotels in Piran
- Hrastovlje
- Karawanken Geopark
- Koroška
- Kostanjevica Cave
- Kostel Castle
- Krokar primeval forest
- Kurentovanje
- Lent
- Ljubljana Castle
- Ljubljana Cathedral
- Logar Valley
- Oldest vine in the world
- Olimje
- Otočec
- Regions
- Rimske Toplice
- Rinka Waterfall
- Rogla
- Sava River
- Slovenj Gradec
- Topolšica
- Velika Planina
- Goriška
- Krško
- Lake Bled
- Municipalities
- Podravje
- Prešeren Square
- Ravne na Koroškem
- Restaurants in Piran
- Škocjan Inlet
- Volčji Potok Arboretum
- Bled Island
- Cities
- Mežica
- Pomurje
- Sevnica
- Socerb Castle
- Bled Castle
- Coast and Karst
- Dravograd
- Kostanjevica na Krki
- Population
- Notranjska
- Ojstrica viewpoint
- Radlje ob Dravi
- Size
- Central Slovenia
- Language
- Mislinja
- Plečnik's Ljubljana
- Slovenska Bistrica
- Vila Bled
- Currency
- Grand Hotel Toplice
- Ormož
- Zasavje
- Hotel Savica Garni
- Hotels in Bled
- Pohorje
- Haloze
- Restaurants in Bled
- Flag and symbols
- Hoče-Slivnica
- Bizeljsko
- Bohinj
- Christmas in Ljubljana
- City Hotel Ljubljana
- Gorjanci
- Kranj
- Krka River
- Laško
- Moravske Toplice
- Ptuj Castle
- Public holidays
- Rajhenburg Castle
- Šentilj
- Slovenia beaches
- Šmartno pri Litiji
- Uršlja Gora
- Brdo Castle
- Lake Bohinj
- Ljubljana Festival
- Radenci
- Rogaška Slatina
- Day trips from Ljubljana
- Jesenice
- Lendava
- Podčetrtek
- Savica waterfall
- Time zone
- Dobrna
- Ljubljana nightlife
- Ljutomer
- Nova Gorica
- Vogel
- Bohinjska Bistrica
- Gornja Radgona
- Ljubljana Old Town
- Slovenia and Croatia
- Solkan
- Zreče
- Grad
- Sabotin
- Slovenia, Italy and Austria
- Slovenske Konjice
- Stara Fužina
- Trnovo
- Goričko
- Holidays and tours
- Hotels in Bohinj
- Škofja Loka
- Vitanje
- Škofja Loka Castle
- Slovenia or Slovakia
- Šoštanj
- Veržej
- Slovenian phrases
- Slovenia in 3 days
- Bela krajina
- Caves in Slovenia
- Črnomelj
- Dragon Bridge
- Gorje
- Hiking
- Hotels in Maribor
- Kozjansko Regional Park
- Kranjska Gora
- Lake Ptuj
- Ljubljana Marshes
- Slovenia in 5 days
- Vinarium Tower
- Where to stay in Ljubljana
- Žalec
- Metlika
- Slovenia castles
- Slovenia in a week
- Slovenian Mountain Trail
- Triple Bridge
- Vintgar Gorge
- Vršič Pass
- Where to eat in Ljubljana
- Best viewpoints in Slovenia
- Central Market
- Juliana Trail
- Lake Jasna
- Road trip
- Semič
- Žirovnica
- Kočevje
- Metelkova
- Motorhome
- Museums in Slovenia
- Naklo
- Soča rafting
- Tržič
- Zelenci
- Jezersko
- Kostel
- Lake Planšar
- Skiing
- Slovenia with kids
- Slovenian Alpine Museum
- Tivoli Park
- Best time to visit
- Cerklje na Gorenjskem
- Cycling
- Dolenjske Toplice
- Ljubljanica river
- Mojstrana
- Šenčur
- Krvavec
- National Gallery
- Parenzana
- Peričnik waterfall
- Šmarješke Toplice
- Weather
- National and University Library
- Paragliding
- Slovenia in winter
- Strmol Castle
- Trebnje
- Vrata valley
- Climbing
- Events
- Martuljek waterfalls
- Žale
- Fly fishing
- In January
- Ljubljana museums
- National Museum of Slovenia
- Rateče
- Bovec
- Festival Lent
- Golf
- Hotels in Ptuj
- In February
- Kamnik-Savinja Alps
- Nature parks
- Parking in Ljubljana
- Pekel Cave
- Planica
- Snežnik Castle
- Solčava
- Gornji Grad
- In March
- Kranjska Gora ski resort
- Lakes
- Trenta
- Ziplines
- Alpe Adria Trail
- Hotels in Kranjska Gora
- In April
- Kanin
- Nazarje
- Waterfalls
- In May
- Rivers
- Virje waterfall
- Vransko
- Hotels in Bovec
- In June
- Mountains
- Šentjur
- Dobra Vila Bovec
- In July
- Ljubljana Card
- Mozirje
- Spas
- In August
- Nebesa Chalets
- Rečica ob Savinji
- In September
- Kobarid
- Šmartno ob Paki
- In October
- Kobarid Museum
- Hiša Franko
- In November
- In December
- Radovljica
- Železniki
- In spring
- Museum of Apiculture
- Žiri
- In summer
- Kropa
- Tolmin
- Brezje
- In autumn
- Metaldays
- Tolmin Gorges
- Begunje
- Javorca church
- Slovenia in 10 days
- Most na Soči
- Idrija
- Ljubljana Marathon
- How to get there
- Idrija mercury mine
- Wild Lake
- Cerkno
- Flights
- Laufarji
- Divje babe
- Franja Partisan Hospital
- Ljubljana Airport
- Ajdovščina
- Nearby airports
- Venice to Ljubljana
- Vipava
- Vipavski Križ
- Zagreb to Ljubljana
- Brda
- Trains to Slovenia
- Getting around
- Šmartno
- Dobrovo Castle
- Trains
- Buses
- Julian Alps
- Car hire
- Triglav National Park
- Driving
- Pokljuka
- Triglav Lakes
- Vignette
- Mount Triglav
- Taxis
- Distances
- Soča Valley
- Soča River
- Trieste to Ljubljana
- Kozjak Waterfall
- Vienna to Ljubljana
- Boka Waterfall
- Budapest to Ljubljana
- Ljubljana to Maribor
- Walk of Peace
- Bled to Bohinj
- Mangart
- Lake Krn
- Prices and budget
- Slovenia on a budget
- Vipava Valley
- Free things to do
- Otlica Natural Window
- Entry requirements
- Rihemberk Castle
- Customs
- Safety
- Scams
- Bears
- Healthcare
- Mobile and roaming
- Plugs
- Packing list
- What to buy
- Hotels
- Campsites
- Farm stays
- Mountain huts
- Food
- Bled cream cake
- Wine
- Potica
- Prekmurska gibanica
- Štruklji
- Carniolan sausage
- Idrija žlikrofi
- Beer
- Tipping
Questions about Slovenia? Write to me
I read every email. If a fact is wrong or missing, tell me and I will check it.
My email sergiolepone@gmail.com
By
Tourism graduate with a master’s in Tourism Management and Planning from the University of Málaga, who has travelled across Europe. He writes every guide from official sources and his own judgement.
Published on . Updated on . Facts checked on .
Sources
Some links in this guide are affiliate links: if you book through them, the site earns a commission at no extra cost to you. Affiliate disclosure
Photos: Tournasol7 (CC BY 4.0); focusonmore.com (CC BY 2.0); Lokiseinchef (CC BY 3.0); Szilas (CC BY-SA 4.0), via Wikimedia Commons.