By resolution of an 828 Imperial Diet, Baldric of Friuli was deposed and the March of Pannonia was set apart as a frontier march against Moravia within the Frankish regnum of Bavaria. The Bavarian prefects had to face the rising threat by the Moravian ruler Mojmir I, who pursued separatist policies in the Eastern March.
A resolution passed by an 828 Imperial Diet led to Baldric of Friuli's removal and the creation of a border region, the March of Pannonia, to counter the threat from Moravia within the Frankish realm of Bavaria. The Bavarian administrators faced the challenge posed by Mojmir I, who was promoting independence in the Eastern March.