 Eric governed the Duchy of Friuli from Cividale, the former Lombard capital and also residence of the Patriarch of Aquileia.Much of Eric's tenure as duke of Friuli was occupied by the task of subduing the nearby Avars.In this he was accompanied by Pepin of Italy and his own father, the margrave of Avaria.