 He created a personal union of the two kingdoms.Although the were maintained, he reorganised the kingdom on the Frankish model, with counts rather than dukes.The duchy of Friuli thus became a county, but Hrodgaud was allowed to keep it until he rebelled in 776, when he was killed in battle and replaced with Macarius.