Charlemagne laid the foundation for the Holy Roman Empire of the German Nation, the central political authority of medieval society. Manorialism laid the foundation for the rural economy, and feudalism for the basic political system that would govern most of Europe during the rest of the Middle Ages.