Charlemagne’s father, Pippin III, was of nonroyal birth. Pippin III was actually the mayor of the palace belonging to the previous dynasty, the Merovingians, and seized the throne with papal sanction several years after Charlemagne’s birth. In accordance with Frankish custom, Pippin III divided his territories between Charlemagne and Charlemagne’s brother, Carloman. The split fostered mounting tensions between the brothers that would have ended in internecine warfare had Carloman not died an untimely death in 771, leaving Charlemagne to absorb his half of the empire. According to accounts from the period, Charlemagne went on to be a devoted father to his own 18 (or more) children, whose mothers were among his various wives and concubines. Although Charlemagne had intended to divide his kingdom among his sons, only one of them—Louis the Pious—lived long enough to inherit the throne.