The Carolingian conquest of northern Italy in 774 put an end to the Kingdom of the Lombards.
In late Antiquity the north-east of the Italian peninsula suffered many invasions. The wars caused people to move to the safer lagoon areas, and hence to the foundation of Venice.