the Franks and Bavarians against the eastern Avars in 791, so that by 803 they had fallen back to the east of the Fischa and Leitha rivers. These conquests enabled the establishment of a system of defensive marches (military borderlands) from the Danube to the Adriatic. By around 800 AD, Österreich, the "Kingdom of the East," had been joined to the Holy Roman Empire. Among these was an eastern march, the Avar March (Awarenmark), corresponding roughly to present day Lower Austria, bordered by the rivers Enns, Raab and Drava, while to the south lay the March of Carinthia. Both marches were collectively referred to as the Marcha orientalis (Eastern March), a prefecture of the Duchy of Bavaria. In 805, the Avars, with Charlemagne's permission, led by the Avar Khagan, settled south-eastward from Vienna. A new threat appeared in 862, the Hungarians, following the pattern of displacement from more eastern territories by superior forces. By 896 the Hungarians were present in large numbers on the Hungarian Plain from which they raided the Frankish domains. They defeated the Moravians and in 907 defeated the Bavarians at the Battle of Pressburg and by 909 had overrun the marches forcing the Franks and Bavarians back to the Enns River. Bavaria became a Margraviate under Engeldeo (890–895) and was re-established as a Duchy under Arnulf the Bad (907–937) who united it with the Duchy of Carinthia, occupying most of the eastern alps. This proved short lived. His son Eberhard (937–938) found himself in conflict with the German King, Otto I (Otto the Great) who deposed him. The next Duke was Henry I (947–955), who was Otto's brother. In 955 Otto successfully forced back the Hungarians at the Battle of Lechfeld, beginning a slow reconquest of the eastern lands, including Istria and Carniola. During the reign of Henry's son, Henry II (the Quarrelsome) (955–976) Otto became the first Holy Roman Emperor (962) and Bavaria became a duchy of the Holy Roman Empire. Otto I re-established the eastern march, and was succeeded by Otto II in 967, and found himself in conflict with Henry who he deposed, allowing him to re-organise the duchies of his empire. Otto considerably reduced Bavaria, re-establishing Carinthia to the south. To the east, he established a new Bavarian Eastern March, subsequently known as Austria, under Leopold (Luitpold), count of Babenberg in 976. Leopold I, also known as Leopold the Illustrious (Luitpold der