The collapse of the Great Moravian Empire split the Czechs and Slovaks, and they stayed separate for the next one thousand years.Until 1918 the Slovak lands remained part of Hungary, but the region was known as Upper Hungary, not Slovakia.
The government made Magyar (Hungarian) the official language and outlawed all other languages.
It closed schools and adopted other measures to abolish ethnic cultures in Hungary.
When the Austro-Hungarian Empire collapsed in 1918, Slovaks joined with Czechs to create an independent Czechoslovakia.
Except for a short period of independence during World War II (1939-1945), Slovakia remained part of that multi-national state until 1993.
The history of Slovakia reaches back to the fifth and sixth centuries when Slavic tribes migrated into the region south of the Carpathian Mountains.
These ancestors of modern-day Slovaks established villages and developed an agricultural economy in the Middle Danube Basin.Many Slovak supporters of an independent Czechoslovakia had envisioned the new state as a federation of two independent people.Instead, the country's constitution established a centralized government with a single capital city, Prague.Independent Slovakia was in reality a puppet government of Germany.In 1945 Slovakia and the Czech lands were reunified.During the Counter-Reformation which accompanied Hapsburg rule, most Slovaks returned to Roman Catholicism, although a significant minority remained Protestant.