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.
By decision of an 828 Imperial Diet, Baldric of Friuli was ousted and the March of Pannonia was designated as a defensive border region against Moravia within the Frankish kingdom of Bavaria. The Bavarian governors had to confront the growing menace by the Moravian ruler Mojmir I, who pursued secessionist policies in the Eastern March.