 The context of the time was a long period of warfare among the Frankish nobility.Emperor Louis the Pious, son of Charlemagne, died in 840.His three sons (Lothair, Louis the German, and Charles the Bald) fought over the partition of the empire.