The Buik of Alexander is a short title for the two known Scots versions of the Alexander romance stories — a genre which was common in Medieval European literature, particularly France from the 12th century onwards, and the British Isles in the 14th and 15th centuries. A principal source text for these was the Old French text, Li romans d'Alixandre, attributed to Alexandre de Bernay, although writers tended to adapt material freely from different sources. Many different European nations had poets who produced versions of the romance. The dating is unsure, but the earlier of the two Scottish versions was anonymous (dated 1438?), and the second, in a version dated 1499?, is by Gilbert Hay.