 In 781, Friuli, along with the other territory of the old Lombard kingdom was placed under the control of Charlemagne's son Pepin.In 828, Friuli was subdivided into a number of smaller counties and then in 846 it was reformed as the March of Friuli.In the early modern period, the Habsburg-ruled Princely County of Gorizia and Gradisca covered large parts of the Duchy of Friuli.