he primary subject of a chanson de geste was
legendary incidents ( sometimes based on real events ) in the history of France during the eighth , ninth and tenth centuries , the age of Charles Martel , Charlemagne and Louis the Pious , with emphasis on their conflicts with the Moors and Saracens , and also disputes between kings and their vassals