Scottish literature in the Middle Ages
Scottish literature in the Middle Ages is literature written in Scotland, or by Scottish writers, between the departure of the Romans from Britain in the fifth century, until the establishment of the Renaissance in the late fifteenth century and early sixteenth century. It includes literature written in Brythonic, Scottish Gaelic, Scots, French and Latin. Much of the earliest Welsh literature was actually composed in or near the country now called Scotland, in the Brythonic speech, from which Welsh would be derived. This includes the epic poem "The Gododdin", considered the earliest surviving verse from  Scotland. Very few works of Gaelic poetry survive from the early Medieval period, and most of these are extant in Irish manuscripts. There are religious works that can be identified as Scottish. In Old English there is the "Dream of the Rood", from which lines are found on the Ruthwell Cross, making it the only surviving fragment of Northumbrian Old English from early Medieval Scotland. What is probably the most important work written in early Medieval Scotland, the "Vita Columbae" by Adomnán, was also written in Latin. As the state of Alba developed into the Kingdom of Scotland from the  eighth century, a flourishing literary elite there regularly produced texts in both Gaelic and Latin, sharing a common literary culture with Ireland and elsewhere. It is possible that much Middle Irish literature was written in Medieval Scotland, but has not survived because the Gaelic literary establishment of eastern Scotland died out before the fourteenth century. After the Davidian Revolution of the thirteenth century, a flourishing French language culture predominated, while Norse literature was produced from areas of Scandinavian settlement. In the late Middle Ages, Middle Scots became the dominant language of the country. The first surviving major text in Scots  literature is John Barbour's "Brus" (1375). This was followed by major historical works in Latin, including the "Chronica Gentis Scotorum" of John of Fordun. There were also Scots versions of popular French romances. Much Middle Scots literature was produced by makars, poets with links to the royal court. Many of the makars had a university education and so were also connected with the Church. Much of their work survives in a single collection: the Bannatyne Manuscript, collated around 1560. In the late fifteenth century, Scots prose also began to develop as a genre. The first complete surviving work is  John Ireland's "The Meroure of Wyssdome" (1490). The landmark work in the reign of James IV was Gavin Douglas's version of Virgil's "Aeneid", the "Eneados", which was the first complete translation of a major classical text in an Anglic language, finished in 1513, but overshadowed by the disaster at Flodden in the same year. Early Middle Ages. After the collapse of Roman authority in the early fifth century, four major circles of political and cultural influence emerged in Northern Britain. In the East were the Picts, whose kingdoms eventually stretched from the River Forth to Shetland. Modern  scholarship, based on surviving place names and historical evidence, indicates that the Pictish language was Brythonic (British). In the West were the Gaelic (Goidelic-speaking) people of Dál Riata, who had close links with Ireland, from where they brought with them the name Scots. In the south were the British (Brythonic-speaking) descendants of the peoples of the Roman-influenced kingdoms of "The Old North", the most powerful and longest surviving of which was the Kingdom of Strathclyde. Finally, there were the English or "Angles", Germanic invaders who had overrun much of southern Britain and held the Kingdom of Bernicia  (later the northern part of Northumbria), which reached into what are now the Borders of Scotland in the south-east. To these languages Christianisation, particularly from the sixth century, added Latin as an intellectual and written language. No written literature for the Picts has survived into the modern era. However, there is surviving literature from what would become Scotland in Brythonic, Gaelic, Old English and Latin. Much of the earliest Welsh literature was actually composed in or near the country now called Scotland, in the Brythonic speech, from which Welsh would be derived. At this time it was not then  confined to Wales and Cornwall. These works were only written down in Wales much later. These include "The Gododdin", considered the earliest surviving verse from Scotland, which is attributed to the bard Aneirin, said to have been resident in Bythonic kingdom of Gododdin in the sixth century. It is a series of elegies to the men of Gododdin killed fighting at the "Battle of Catraeth" around 600 AD. Similarly, the "Battle of Gwen Ystrad" is attributed to Taliesin, traditionally thought to be a bard at the court of Rheged in roughly the same period. Very few works of Gaelic poetry  survive from the early Medieval period, and most of these are in Irish manuscripts. There are religious works that can be identified as Scottish, including the "Elegy for St Columba" by Dallan Forgaill (c. 597) and "In Praise of St Columba" by Beccan mac Luigdech of Rum, c. 677. A series of anecdotes contained in the tenth century "Betba Adamnáin" (Life of St. Adomnán) are probably derived from works composed on Iona. Outside of these there are a few poems in praise of Pictish kings contained within Irish annals that are probably from Scotland. In Old English there is the  Dream of the Rood, from which lines are found on the Ruthwell Cross, making it the only surviving fragment of Northumbrian Old English from early Medieval Scotland. It has also been suggested on the basis of ornithological references that the poem "The Seafarer" was composed somewhere near the Bass Rock in East Lothian. Early works in Latin include a "Prayer for Protection" attributed to St Mugint, thought to be from the mid-sixth century, and "Altus Prosator" ("The High Creator"), attributed to St Columba (c. 597). What is probably the most important work written in early Medieval Scotland, the "Vita  Columbae", by Adomnán, abbot of Iona (627/8–704), was also written in Latin. The next most important piece of Scottish hagiography, the verse "Life of St. Ninian", was written in Latin in Whithorn, perhaps as early as the eighth century. High Middle Ages. Beginning in the later eighth century, Viking raids and invasions may have forced a merger of the Gaelic and Pictish crowns. The Kingdom of Alba emerged, which would eventually become known as the Kingdom of Scotland, and traced its origin to Cínaed mac Ailpín (Kenneth MacAlpin) in the 840s through the House of Alpin. The Kingdom of Alba  was overwhelmingly an oral society dominated by Gaelic culture. Fuller sources for Ireland of the same period suggest that there would have been filidh, who acted as poets, musicians and historians, often attached to the court of a lord or king, and passed on their knowledge and culture in Gaelic to the next generation. Historical sources, as well as place name evidence, indicate the ways in which the Pictish language in the north and Cumbric languages in the south were overlaid and replaced by Gaelic, Old English and later Norse. From the eleventh century French, Flemish and particularly English became  the main languages of Scottish burghs, most of which were located in the south and east. At least from the accession of David I (r. 1124–53), as part of a Davidian Revolution that introduced French culture and political systems, Gaelic ceased to be the main language of the royal court and was probably replaced by French. After this "de-gallicisation" of the Scottish court, a less highly regarded order of bards took over the functions of the filidh, and they would continue to act in a similar role in the Highlands and Islands into the eighteenth century. They often trained  in bardic schools. A few of these, like the one run by the MacMhuirich dynasty, who were bards to the Lord of the Isles, continued until they were suppressed from the seventeenth century. Members of bardic schools were trained in the complex rules and forms of Gaelic poetry. Much of their work was never written down, and what survives was only recorded from the sixteenth century. It is possible that more Middle Irish literature was written in Medieval Scotland than is often thought, but has not survived because the Gaelic literary establishment of eastern Scotland died out before the fourteenth  century. Thomas Owen Clancy has argued that the "Lebor Bretnach", the so-called "Irish Nennius", was written in Scotland, and probably at the monastery in Abernethy, but this text survives only from manuscripts preserved in Ireland. Other literary works that have survived include that of the prolific poet Gille Brighde Albanach. His "Heading for Damietta" (c. 1218) dealt with his experiences of the Fifth Crusade. The twelfth century, a period that saw the arrival of new religious orders and changes in the structure of the church, was the highpoint of Scottish hagiography. There was a proliferation of Latin lives of  the saints, often venerating early Celtic and Scottish figures, and the creation or embellishment of foundations myths for religious centres including St. Andrews, Glasgow and Dunkeld. Many earlier saints' lives are preserved in the "Aberdeen Breviary" (1509–10), compiled for William Elphinstone, Archbishop of Aberdeen. In the thirteenth century, French flourished as a literary language and produced the "Roman de Fergus", the earliest piece of non-Celtic vernacular literature to survive from Scotland. Many other stories in the Arthurian Cycle, written in French and preserved only outside Scotland, are thought by some scholars, including D. D. R. Owen, to have been  written in Scotland. There is some Norse literature from areas of Scandinavian settlement, such as the Northern and Western Isles. The famous "Orkneyinga Saga" however, although it pertains to the Earldom of Orkney, was written in Iceland. In addition to French, Latin was a literary language with works that include the "Carmen de morte Sumerledi", a poem which exults the victory of the citizens of Glasgow over Somairle mac Gilla Brigte, and the "Inchcolm Antiphoner", a hymn in praise of St. Columba. Late Middle Ages. In the late Middle Ages, Middle Scots, often simply called English, became the dominant language  of the country. It was derived largely from Old English, with the addition of elements from Gaelic and French. Although resembling the language spoken in northern England, it became a distinct dialect from the late fourteenth century onwards. As the ruling elite gradually abandoned French, they began to adopt Middle Scots, and by the fifteenth century it was the language of government, with acts of parliament, council records and treasurer's accounts almost all using it from the reign of James I (1406–37) onwards. As a result, Gaelic, once dominant north of the Tay, began a steady decline. Lowland writers  began to treat Gaelic as a second class, rustic and even amusing language, helping to frame attitudes towards the highlands and to create a cultural gulf with the lowlands. The major corpus of Medieval Scottish Gaelic poetry, "The Book of the Dean of Lismore" was compiled by the brothers James and Donald MacGregor in the early decades of the sixteenth century. Beside Scottish Gaelic verse it contains a large number of poems composed in Ireland as well verse and prose in Scots and Latin. The subject matter includes love poetry, heroic ballads and philosophical pieces. It also is notable for  containing poetry by at least four women. These include Aithbhreac Nighean Coirceadail (f. 1460), who wrote a lament for her husband, the constable of Castle Sween. The first surviving major text in Scots literature is John Barbour's "Brus" (1375), composed under the patronage of Robert II and telling the story in epic poetry of Robert I's actions before the English invasion until the end of the war of independence. The work was extremely popular among the Scots-speaking aristocracy, and Barbour is referred to as the father of Scots poetry, holding a similar place to his contemporary Chaucer  in England. Major historical works in Latin included the "Chronica Gentis Scotorum" of John of Fordun (before 1360–c. 1384), which would provide the basis for later historical writing, including Walter Bower's (c. 1385–1449) continuation known as "Scotichronicon" and the Humanist works like that of Hector Boece (1465–1536). In the early fifteenth century, Scots historical works included Andrew of Wyntoun's verse "Orygynale Cronykil of Scotland" and Blind Harry's "The Wallace", which blended historical romance with the verse chronicle. They were probably influenced by Scots versions of popular French romances that were also produced in the period, including  The Buik of Alexander, "Launcelot o the Laik", "The Porteous of Noblenes" by Gilbert Hay and "Greysteil", which would remain popular through the late sixteenth century. Much Middle Scots literature was produced by makars, poets with links to the royal court, which included James I, who wrote the extended poem "The Kingis Quair". Many of the makars had university education and so were also connected with the Kirk; however William Dunbar's "Lament for the Makaris" (c. 1505) provides evidence of a wider tradition of secular writing outside of Court and Kirk, now largely lost. Writers such as Dunbar, Robert  Henryson, Walter Kennedy and Gavin Douglas have been seen as creating a golden age in Scottish poetry. Major works include Richard Holland's satire the "Buke of the Howlat" (c. 1448). Much of their work survives in a single collection, the Bannatyne Manuscript collated by George Bannatyne (1545–1608) around 1560. It contains the work of many Scots poets who would otherwise be unknown. In the late fifteenth century, Scots prose also began to develop as a genre. Although there are earlier fragments of original Scots prose, such as the "Auchinleck Chronicle", the first complete surviving work is John Ireland's  The Meroure of Wyssdome (1490). There were also prose translations of French books of chivalry that survive from the 1450s, including "The Book of the Law of Armys" and the "Order of Knychthode", and the treatise "Secreta Secretorum", an Arabic work believed to be Aristotle's advice to Alexander the Great. The landmark work in the reign of James IV was Gavin Douglas's version of Virgil's "Aeneid", the "Eneados", which was the first complete translation of a major classical text in an Anglic language, finished in 1513, but overshadowed by the disaster at Flodden in the same year