Slovakia, is a 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 mostly mountainous territory spans about 49,000 km2 (19,000 sq mi), hosting a population exceeding 5.4 million. The capital and largest city is Bratislava, while the second largest city is Košice. The Slavs arrived in the territory of the present-day Slovakia in the 5th and 6th centuries. From the late 6th century, parts of modern Slovakia were incorporated into the Avar Khaghanate. In the 7th century, the Slavs played a significant role in the creation of Samo’s Empire.