Socialist Republic of Slovenia
| 1945–1991 | |||||||||||||||
| Anthem: Naprej, zastava slave (English: "Forward, Flag of Glory") (1972–1990) Zdravljica (English: "A Toast") (from 1990) | |||||||||||||||
Slovenia within Yugoslavia | |||||||||||||||
| Status | Constituent republic of Yugoslavia | ||||||||||||||
| Capital | Ljubljana | ||||||||||||||
| Common languages | Slovene | ||||||||||||||
| Government | 1945–1989: Unitary communist state 1989–1991: Unitary parliamentary republic | ||||||||||||||
| Head of state | |||||||||||||||
• 1945–1953 | Josip Vidmar (first) | ||||||||||||||
• 1990–1991 | Milan Kučan (last) | ||||||||||||||
| Head of government | |||||||||||||||
• 1945–1946 | Boris Kidrič (first) | ||||||||||||||
• 1990–1991 | Lojze Peterle (last) | ||||||||||||||
| Leader of the ZKS | |||||||||||||||
• 1945–1946 | Boris Kidrič (first) | ||||||||||||||
• 1989–1990 | Ciril Ribičič (last) | ||||||||||||||
| Historical era | Cold War | ||||||||||||||
• SNOS | 19 February 1945 | ||||||||||||||
| 23 December 1990 | |||||||||||||||
• Independence declared | 25 June 1991 | ||||||||||||||
| 27 June – 7 July 1991 | |||||||||||||||
• Recognized | 12 January 1992 | ||||||||||||||
| HDI (1991) | 0.772 high | ||||||||||||||
| ISO 3166 code | SI | ||||||||||||||
| |||||||||||||||
| Today part of | Slovenia | ||||||||||||||
The Socialist Republic of Slovenia (Slovene: Socialistična republika Slovenija, Serbo-Croatian: Socijalistička Republika Slovenija / Социјалистичка Република Словенија), commonly referred to as Socialist Slovenia or simply Slovenia, was one of the six federal republics forming Yugoslavia and the nation state of the Slovenes. It existed under various names from its creation on 29 November 1945 until 25 June 1991.
In early 1990, the government dismantled the single-party system of government – installed by the League of Communists – and adopted a multi-party democracy. Republic of Slovenia dropped the 'Socialist' label shortly after and in late 1990 cast a successful public vote for independence, which it formally declared on 25 June 1991 and achieved after the brief Ten-Day War.