The Republic of Hungary (Magyar Köztársaság listen (help·info)), or Hungary (Magyarország listen (help·info)), is a landlocked country (It had seaside before Treaty of Trianon) in Central Europe, bordered by Austria, Slovakia, Ukraine, Romania, Serbia and Montenegro, Croatia and Slovenia. It is known locally as the Country of the Magyars.
History
In the time of the Roman Empire, the Romans called the region Pannonia (west from the Danube river). After Rome fell under the Germanic tribes migration and Carpians' pressure, the Migration Period continued bringing many invaders. First came the Huns, who built up a powerful empire under Attila. The name "Hungary" may be influenced by the name of the Hun people, although it probably comes from the name of a later, 7th century Turkic alliance called Onogur. After the Hunnish rule faded, the other Germanic tribes Lombards and Gepids ruled in Pannonia for about 100 years, during which the Slavic tribes also began migrating south. In the 560s, these were supplanted by the Avars who would maintain their supremacy of the land for over two centuries. The Franks under Charlemagne from the west and the Bulgars from the southeast finally managed to overthrow the Avars in the early 9th century. Soon after, the Franks retreated, and the Slavonic kingdom of Great Moravia and the Balaton Principality controlled much of Pannonia until the end of the century. Finally, the Magyars migrated to Hungary in the late 9th century.
Read more at Wikipedia.org