Charlemagne was its first ruler, initially