Croatia and Slovenia declare their independence by referendum from Yugoslavia.

The Socialist Federal Republic of Yugoslavia, commonly referred to as SFR Yugoslavia or simply Yugoslavia, was a socialist country in Central and Southeast Europe that existed from its foundation in the aftermath of World War II until its dissolution in 1992 amid the Yugoslav Wars. Covering an area of 255,804 km2 (98,766 sq mi), the SFRY bordered the Adriatic Sea and Italy to the west, Austria and Hungary to the north, Bulgaria and Romania to the east, and Albania and Greece to the south. It was a one-party socialist state and federation governed by the League of Communists of Yugoslavia and made up of six socialist republicsBosnia and Herzegovina, Croatia, Macedonia, Montenegro, Serbia, and Sloveniawith Belgrade as its capital; it also included two autonomous provinces within Serbia: Kosovo and Vojvodina.

The SFRY traces its origins to 26 November 1942, when the Anti-Fascist Council for the National Liberation of Yugoslavia was formed during World War II to resist Axis occupation of the Kingdom of Yugoslavia. Following the country's liberation, King Peter II was deposed, the monarchy was ended, and on 29 November 1945 the Federal People's Republic of Yugoslavia was proclaimed. Led by Josip Broz Tito, the new communist government sided with the Eastern Bloc at the beginning of the Cold War but pursued a policy of neutrality following the TitoStalin split in 1948; it became one of the founding members of the Non-Aligned Movement, and transitioned from a command economy to market-based socialism.

Following the death of Tito on 4 May 1980, the Yugoslav economy started to collapse, which increased unemployment and inflation. The economic crisis led to rising ethnic nationalism and political dissidence in the late 1980s and early 1990s. With the fall of communism in Eastern Europe, efforts to transition into a confederation also failed; the two wealthiest republics, Croatia and Slovenia, seceded and gained some international recognition in 1991. The federation dissolved along the borders of federated republics, hastened by the start of the Yugoslav Wars, and the federation formally broke up on 27 April 1992. Two republics, Serbia and Montenegro, remained within a reconstituted state known as the Federal Republic of Yugoslavia, or FR Yugoslavia, but this state was not recognized internationally as the official successor state to SFR Yugoslavia. Former Yugoslavia is now commonly used retrospectively.

Croatia ( (listen), kroh-AY-shə; Croatian: Hrvatska, pronounced [xř̩ʋaːtskaː]), officially the Republic of Croatia (Croatian: Republika Hrvatska, (listen)), is a country at the crossroads of Central and Southeast Europe. It shares a coastline along the Adriatic Sea, and borders Slovenia to the northwest, Hungary to the northeast, Serbia to the east, Bosnia and Herzegovina and Montenegro to the southeast, and shares a maritime border with Italy to the west and southwest. Croatia's capital and largest city, Zagreb, forms one of the country's primary subdivisions, with twenty counties. The country spans an area of 56,594 square kilometres (21,851 square miles), with a population of nearly 3.9 million.

The Croats arrived in the 6th century and organised the territory into two duchies by the 9th century. Croatia was first internationally recognised as independent on 7 June 879 during the reign of Duke Branimir. Tomislav became the first king by 925, elevating Croatia to the status of a kingdom. During the succession crisis after the Trpimirović dynasty ended, Croatia entered a personal union with Hungary in 1102. In 1527, faced with Ottoman conquest, the Croatian Parliament elected Ferdinand I of Austria to the Croatian throne. In October 1918, the State of Slovenes, Croats and Serbs, independent from Austria-Hungary, was proclaimed in Zagreb, and in December 1918, merged into the Kingdom of Yugoslavia. Following the Axis invasion of Yugoslavia in April 1941, most of Croatia was incorporated into a Nazi installed puppet state, the Independent State of Croatia, which committed genocide against Serbs, Jews, and Roma. A resistance movement led to the creation of the Socialist Republic of Croatia, which after the war became a founding member and constituent of the Socialist Federal Republic of Yugoslavia. On 25 June 1991, Croatia declared independence, and the War of Independence was fought for four years following the declaration.

A sovereign state, Croatia is a republic governed under a parliamentary system. It is a member of the European Union, the United Nations, the Council of Europe, NATO, the World Trade Organization, and a founding member of the Union for the Mediterranean. An active participant in United Nations peacekeeping, Croatia has contributed troops to the International Security Assistance Force and took a nonpermanent seat on the United Nations Security Council for the 2008–2009 term. Since 2000, the Croatian government has invested in infrastructure, especially transport routes and facilities along the Pan-European corridors.

Croatia is classified by the World Bank as a high-income economy and ranks very high on the Human Development Index. Service, industrial sectors, and agriculture dominate the economy, respectively. Tourism is a significant source of revenue, with Croatia ranked among the 20 most popular tourist destinations. The state controls a part of the economy, with substantial government expenditure. The European Union is Croatia's most important trading partner. Croatia provides social security, universal health care, and tuition-free primary and secondary education while supporting culture through public institutions and corporate investments in media and publishing.