The Song of Roland (French: La Chanson de Roland) is an 11th-century chanson de geste based on the deeds of the Frankish military leader Roland at the Battle of Roncevaux Pass in AD 778, during the reign of Charlemagne. It is the oldest surviving major work of French literature. It exists in various manuscript versions, which testify to its enormous and enduring popularity in Medieval and Renaissance literature from the 12th to the 16th centuries.
It is an epic poem written in Old French and is the first example of the chanson de geste, a literary form that flourished between the 11th and 16th centuries in Medieval Europe and celebrated legendary deeds. An early version was composed around AD 1040, with additions and alterations made up to about AD 1115. The final poem contains about 4,000 lines.