The Early Middle Ages, 284--1000: Charlemagne