 When after the deposition of the last Friulian duke Baldric, Emperor Louis the Pious at the 829 Reichstag in Worms divided his vast duchy into four marches.Istria with the March of Friuli was ruled from Aquileia by Margrave Eberhard and his Unruoching descendants.It became part of Middle Francia after the 843 Treaty of Verdun, and was allotted to Emperor Louis II's Italian kingdom in 855.