The breakup of the Carolingian Empire was accompanied by invasions, migrations, and raids by external foes