 The area was subject to various invasions in the period 166–750, including Huns, Marcomanni, Ostrogoths, Visigoths and Lombards, who had it as a stronghold from about 558.Lombard historian Paul the Deacon mentions it in 611 as an "impregnable castle".From the fall of the Lombard Kingdom of Italy until 952 Gemona was under Carolingian rulers.