Republika Slovenija
Republic of Slovenia
Flag Coat of arms
Anthem: 7th stanza of Zdravljica

            Location of  Slovenia  (dark green)

– on the European continent  (light green & dark grey)
– in the European Union  (light green)  —  [Legend]

Capital
(and largest city)
Ljubljana
46°03′N, 14°30′E
Official languages Slovene1
Demonym Slovenian, Slovene
Government Parliamentary republic
 -  President Danilo Türk
 -  Prime Minister Janez Janša
Independence from Yugoslavia 
 -  Declared June 25, 1991 
 -  Recognised 1992 
EU accession May 1, 2004
Area
 -  Total 20,273 km² (153rd)
7,827 sq mi 
 -  Water (%) 0.6
Population
 -  2008 estimate 2,023,358 2 (143rd)
 -  2002 census 1,964,036 
 -  Density 99.6/km² (80th)
251/sq mi
GDP (PPP) 2008 estimate
 -  Total $48.343 billion [1] (83rd)
 -  Per capita $28,010 [2] (29th)
GDP (nominal) 2007 estimate
 -  Total $38.240 billion[1] (67th)
 -  Per capita $22,079 (30th)
HDI (2005) 0.917 (high) (27th)
Currency euro (€)3 (EUR)
Time zone CET (UTC+1)
 -  Summer (DST) CEST (UTC+2)
Internet TLD .si4
Calling code +386
1 Italian and Hungarian are recognised as official languages in the residential municipalities of the Italian or Hungarian national community.
2 Source: Statistical Office of the Republic of Slovenia: Population, Slovenia, 30 June 2007
3 Prior to 2007: Slovenian tolar
4 Also .eu, shared with other European Union member states.

Slovenia, officially the Republic of Slovenia (Slovene: Republika Slovenija, listen (help·info)), is a country in southern Central Europe bordering Italy to the west, the Adriatic Sea to the southwest, Croatia to the south and east, Hungary to the northeast, and Austria to the north. The capital of Slovenia is Ljubljana.

At various points in Slovenia's history, the country has been part of the Roman Empire, the Byzantine Empire, the Republic of Venice, the Duchy of Carantania (only modern Slovenia's northern part), the Holy Roman Empire, the Habsburg Monarchy, the Austrian Empire (later known as Austria-Hungary), the State of Slovenes, Croats and Serbs, the Kingdom of Serbs, Croats and Slovenes (renamed to Kingdom of Yugoslavia in 1929) between the two World Wars, and the Socialist Federal Republic of Yugoslavia from 1945 until gaining independence in 1991.

Slovenia is the only former communist state to be at the same time a member of the European Union, the Eurozone, the Schengen area, the Organization for Security and Co-operation in Europe, the Council of Europe and NATO.