 Invasions of the peninsula caused a chaotic succession of barbarian kingdoms and the so-called "dark ages".The Lombard kingdom was subsequently absorbed into the Frankish Empire by Charlemagne in the late 8th century.The Franks also helped the formation of the Papal States in central Italy.