It stayed important in parts of western Europe for a long time because Charlemagne based his laws on the Salic law . One part of Salic law that stayed very important was inheritance for kings . The law of Charlemagne was based on Salic Law , an influence as great as that of Greece and Rome .