Answer:
The populations known as the Slavs began to settle present-day Slovakia in the 5th century. They came from Pannonia, which is modern-day Hungary, pressed northward by a division of the kingdom of Samo, who were also pressed by the Franks.
The Slavs gave the dominant culture to present-day Slovakia, and this is why Slovakia is considered to be an Slavic nation, and Slovak is classified as an Slavic language.