Slovakia ( Slovensko ), officially the Slovak Republic (Slovenská republika, ), is a landlocked country in Central Europe. It is bordered by Poland to the north, Ukraine to the east, Hungary to the south, Austria to the west, and the Czech Republic to the northwest. Slovakia's territory spans about 49000 km2 and is mostly mountainous. The population is over 5.4 million and consists mostly of Slovaks. The capital and largest city is Bratislava, and the second largest city is Košice. The official language is Slovak.
The Slavs arrived in the territory of present-day Slovakia in the 5th and 6th centuries. In the 7th century, they played a significant role in the creation of Samo's Empire and in the 9th century established the Principality of Nitra, which was later conquered by the Principality of Moravia to establish Great Moravia. In the 10th century, after the dissolution of Great Moravia, the territory was integrated into the Principality of Hungary, which would become the Kingdom of Hungary in 1000. In 1241 and 1242, much of the territory was destroyed by the Mongols during their invasion of Central and Eastern Europe. The area was recovered largely thanks to Béla IV of Hungary who also settled Germans which became an important ethnic group in the area, especially in what are today parts of central and eastern Slovakia. After World War I and the dissolution of the Austro-Hungarian Empire, the Czechoslovak National Council established Czechoslovakia (1918–1939). A separate (First) Slovak Republic (1939–1945) existed during World War II as a totalitarian, clero-fascist one-party client state of Nazi Germany. At the end of World War II, Czechoslovakia was re-established as an independent country. A coup in 1948 ushered in a totalitarian one-party state under the Communist regime during whose rule the country existed as a satellite of the Soviet Union. Attempts for liberalization of communism in Czechoslovakia culminated in the Prague Spring, which was crushed by the Warsaw Pact invasion of Czechoslovakia in August 1968. In 1989, the Velvet Revolution ended the Communist rule in Czechoslovakia peacefully. Slovakia became an independent state on 1 January 1993 after the peaceful dissolution of Czechoslovakia, sometimes known as the Velvet Divorce.
Slovakia is a high-income advanced economy with a very high Human Development Index, a very high standard of living and performs favourably in measurements of civil liberties, press freedom, internet freedom, democratic governance and peacefulness. The country maintains a combination of market economy with a comprehensive social security system. Citizens of Slovakia are provided with universal health care, free education and one of the longest paid parental leave in the OECD. The country joined the European Union on 1 May 2004 and joined the Eurozone on 1 January 2009. Slovakia is also a member of the Schengen Area, NATO, the United Nations, the OECD, the WTO, CERN, the OSCE, the Council of Europe and the Visegrád Group. Although regional income inequality is high, 90% of citizens own their homes. In 2018, Slovak citizens had visa-free or visa-on-arrival access to 179 countries and territories, ranking the Slovak passport 10th in the world. As part of Eurozone, Slovak legal tender is the Euro, the world's 2nd-most-traded currency. Slovakia is the world's largest per-capita car producer with a total of 1,040,000 cars manufactured in the country in 2016 alone and the 7th largest car producer in the European Union. The car industry represents 43% of Slovakia's industrial output, and a quarter of its exports.
The first written mention of name Slovakia is in 1586 (Liptau). It derives from the Czech word Slováky; previous German forms were Windischen landen and Windenland (the 15th century). The native name Slovensko (1791) derives from an older name of Slovaks Sloven what may indicate its origin before the 15th century. The original meaning was geographic (not political), since Slovakia was a part of the multiethnic Kingdom of Hungary and did not form a separate administrative unit in this period.