In the aftermath, within the further internal subdivisions of the Frankish Empire, Bavaria and southeastern frontier regions remained linked to the Eastern Frankish Kingdom. By the middle of the 9th century, Frankish rule in the region was contested by the Slavic princes of Great Moravia. At the very beginning of the 10th century, the region was invaded and conquered by the Magyars. After the Battle of Lechfeld (955), territories along the river Danube, from the river Enns to the Vienna Woods, were reconquered by Germans, and new Bavarian "Eastern March" () was established (c. 972) thus creating the nucleus of the Margraviate of Austria.