section_path: History/Before 895
section_name: Before 895
paragraph_text: Before 895
  
  The Roman Empire conquered the territory between the Alps and the area west of the Danube River from 16 to 15 BC, the Danube being the frontier of the empire. In 14 BC, Pannonia, the western part of the Carpathian Basin, which includes the west of today’s Hungary, was recognised by emperor Augustus in the Res Gestae Divi Augusti as part of the Roman Empire. The area south-east of Pannonia was organised as the Roman province Moesia in 6 BC. An area east of the river Tisza became the Roman province of Dacia in 106 AD, which included today's east Hungary. It remained under Roman rule until 271.
  
  From 235, the Roman Empire went through troubled times, caused by revolts, rivalry and rapid succession of emperors. The Western Roman Empire collapsed in the 5th century under the stress of the migration of Germanic tribes and Carpian pressure. This period brought many invaders into Central Europe, beginning with the Hunnic Empire (c. 370 –469). The most powerful ruler of the Hunnic Empire was Attila the Hun (434–453), who later became a central figure in Hungarian mythology. After the disintegration of the Hunnic Empire, the Gepids, an Eastern Germanic tribe, who had been vassalised by the Huns, established their own kingdom in the Carpathian Basin. Other groups which reached the Carpathian Basin during the Migration Period were the Goths, Vandals, Lombards, and Slavs.
  
  In the 560s, the Avars founded the Avar Khaganate, a state that maintained supremacy in the region for more than two centuries. The Franks under Charlemagne defeated the Avars in a series of campaigns during the 790s. Between 804 and 829, the First Bulgarian Empire conquered the lands east of the Danube and took over the rule of the local Slavic tribes and remnants of the Avars. By the mid-9th century, the Balaton Principality, also known as Lower Pannonia, was established west of the Danube as part of the Frankish March of Pannonia.