Charlemagne passed the entire empire to Louis the Pious, and Louis the Pious had three heirs that split the empire. See https://en.wikipedia.org/wiki/Treaty_of_Verdun