The Carolingians succeeded the Merovingians in 751. From Pepin the Short to the late 10th century they turned the Frankish kingdom into a Western empire under Charlemagne (emperor in 800), before partitions, Viking raids and the rise of the Capetians in 987.