# Scotland in the High Middle Ages

The High Middle Ages of Scotland encompass Scotland in the era between the death of Domnall II in 900 AD and the death of King Alexander III in 1286, which was an indirect cause of the Wars of Scottish Independence.
At the close of the ninth century, various competing kingdoms occupied the territory of modern Scotland. Scandinavian influence was dominant in the northern and western islands, Brythonic culture in the southwest, the Anglo-Saxon or English Kingdom of Northumbria in the southeast and the Pictish and Gaelic Kingdom of Alba in the east, north of the River Forth. By the tenth and eleventh centuries, northern Great Britain was increasingly dominated by Gaelic culture, and by the Gaelic regal lordship of Alba, known in Latin as either Albania or Scotia, and in English as "Scotland". From its base in the east, this kingdom acquired control of the lands lying to the south and ultimately the west and much of the north. It had a flourishing culture, comprising part of the larger Gaelic-speaking world and an economy dominated by agriculture and trade.
After the twelfth-century reign of King David I, the Scottish monarchs are better described as Scoto-Norman than Gaelic, preferring French culture to native Scottish culture. A consequence was the spread of French institutions and social values including Canon law. The first towns, called burghs, appeared in the same era, and as they spread, so did the Middle English language. These developments were offset by the acquisition of the Norse-Gaelic west and the Gaelicisation of many of the noble families of French and Anglo-French origin. National cohesion was fostered with the creation of various unique religious and cultural practices. By the end of the period, Scotland experienced a "Gaelic revival", which created an integrated Scottish national identity. By 1286, these economic, institutional, cultural, religious and legal developments had brought Scotland closer to its neighbours in England and the Continent, although outsiders continued to view Scotland as a provincial, even savage place. By this date, the Kingdom of Scotland had political boundaries that closely resembled those of the modern nation.

## Historiography

Scotland in the High Middle Ages is a relatively well-studied topic and Scottish medievalists have produced a wide variety of publications. Some, such as David Dumville, Thomas Owen Clancy and Dauvit Broun, are primarily interested in the native cultures of the country, and often have linguistic training in the Celtic languages. Normanists, such as G.W.S. Barrow, are concerned with the Norman and Scoto-Norman cultures introduced to Scotland after the eleventh century. For much of the twentieth century, historians tended to stress the cultural change that took place in Scotland during this time. However, scholars such as Cynthia Neville and Richard Oram, while not ignoring cultural changes, argue that continuity with the Gaelic past was just as, if not more, important.
Since the publication of Scandinavian Scotland by Barbara E. Crawford in 1987, there has been a growing volume of work dedicated to the understanding of Norse influence in this period. However, from 849 on, when Columba's relics were removed from Iona in the face of Viking incursions, written evidence from local sources in the areas under Scandinavian influence all but vanishes for three hundred years. The sources for information about the Hebrides and indeed much of northern Scotland from the eighth to the eleventh century, are thus almost exclusively Irish, English or Norse. The main Norse texts were written in the early thirteenth century and should be treated with care. The English and Irish sources are more contemporary, but according to historian Alex Woolf, may have "led to a southern bias in the story", especially as much of the Hebridean archipelago became Norse-speaking during this period.
There are various traditional clan histories dating from the nineteenth century such as the "monumental" The Clan Donald and a significant corpus of material from the Gaelic oral tradition that relates to this period, although their value is questionable.

## Origins of the Kingdom of Alba

At the close of the ninth century, various polities occupied Scotland. The Pictish and Gaelic Kingdom of Alba had just been united in the east; the Scandinavian-influenced Kingdom of the Isles emerged in the west. Ragnall ua Ímair was a key figure at this time although the extent to which he ruled territory in western and northern Scotland including the Hebrides and Northern Isles is unknown as contemporary sources are silent on this matter. Dumbarton, the capital of the Kingdom of Strathclyde had been sacked by the Uí Ímair in 870. This was clearly a major assault, which may have brought the whole of mainland Scotland under temporary Uí Imair control. The south-east had been absorbed by the English Kingdom of Bernicia/Northumbria in the seventh century. Galloway in the southwest was a Lordship with some regality. In a Galwegian charter dated to the reign of Fergus, the Galwegian ruler styled himself rex Galwitensium, King of Galloway. In the northeast the ruler of Moray was called not only "king" in both Scandinavian and Irish sources, but before Máel Snechtai, "King of Alba".
However, when Domnall mac Causantín died at Dunnottar in 900, he was the first man to be recorded as rí Alban and his kingdom was the nucleus that would expand as Viking and other influences waned. In the tenth century, the Alban elite had begun to develop a conquest myth to explain their increasing Gaelicisation at the expense of Pictish culture. Known as MacAlpin's Treason, it describes how Cináed mac Ailpín is supposed to have annihilated the Picts in one fell takeover. However, modern historians are now beginning to reject this conceptualization of Scottish origins. No contemporary sources mention this conquest. Moreover, the Gaelicisation of Pictland was a long process predating Cináed, and is evidenced by Gaelic-speaking Pictish rulers, Pictish royal patronage of Gaelic poets, and Gaelic inscriptions and placenames. The change of identity can perhaps be explained by the death of the Pictish language, but also important may be Causantín II's alleged Scoticisation of the "Pictish" Church and the trauma caused by Viking invasions, most strenuously felt in the Pictish kingdom's heartland of Fortriu.

## Scandinavian-influenced territories
### Kingdom of the Isles

The Kingdom of the Isles comprised the Hebrides, the islands of the Firth of Clyde and the Isle of Man from the 9th to the 13th centuries AD. The islands were known to the Norse as the Suðreyjar, or "Southern Isles" as distinct from the Norðreyjar or "Northern Isles" of Orkney and Shetland, which were held by the Earls of Orkney as vassals of the Norwegian crown throughout the High Middle Ages.
After Ragnall ua Ímair, Amlaíb Cuarán, who fought at the Battle of Brunanburh in 937 and who also became King of Northumbria, is the next King of the Isles on record. In the succeeding years Norse sources also list various rulers such as Gilli, Sigurd the Stout, Håkon Eiriksson and Thorfinn Sigurdsson as rulers over the Hebrides as vassals of the Kings of Norway or Denmark.
Godred Crovan became the ruler of Dublin and Mann from 1079 and from the early years of the twelfth century the Crovan dynasty asserted themselves and ruled as "Kings of Mann and the Isles" for the next half-century. The kingdom was then sundered due to the actions of Somerled whose sons inherited the southern Hebrides while the Manx rulers held on to the "north isles" for another century.

### The North

The Scandinavian influence in Scotland was probably at its height in the mid eleventh century during the time of Thorfinn Sigurdsson, who attempted to create a single political and ecclesiastical domain stretching from Shetland to Man. The permanent Scandinavian holdings in Scotland at that time must therefore have been at least a quarter of the land area of modern Scotland.
By the end of the eleventh century, the Norwegian crown had come to accept that Caithness was held by the Earls of Orkney as a fiefdom from the Kings of Scotland although its Norse character was retained throughout the thirteenth century. Raghnall mac Gofraidh was granted Caithness after assisting the Scots king in a conflict with Harald Maddadson, an earl of Orkney in the early thirteenth century.
In the ninth century, Orcadian control stretched into Moray, which was a semi-independent kingdom for much of this early period. The Moray rulers Macbeth (1040–1057) and his successor Lulach (1057–1058) became rulers of the entire Scottish kingdom for a time. However, Moray was subjugated by the Scottish kings after 1130, when the native ruler, Óengus of Moray was killed leading a rebellion. Another revolt in 1187 was equally unsuccessful.

### South west Scotland

By the mid-tenth century Amlaíb Cuarán controlled The Rhinns and the region gets the modern name of Galloway from the mixture of Viking and Gaelic Irish settlement that produced the Gall-Gaidel. Magnus Barelegs is said to have "subdued the people of Galloway" in the eleventh century and Whithorn seems to have been a centre of Hiberno-Norse artisans who traded around the Irish Sea by the end of the first millennium. However, the place name, written and archaeological evidence of extensive Norse (as opposed to Norse-Gael) settlement in the area is not convincing.
The ounceland system seems to have become widespread down the west coast including much of Argyll, and most of the southwest apart from a region near the inner Solway Firth. In Dumfries and Galloway the place name evidence is complex and of mixed Gaelic, Norse and Danish influence, the last most likely stemming from contact with the extensive Danish holdings in northern England. Although the Scots obtained greater control after the death of Gilla Brigte and the accession of Lochlann in 1185, Galloway was not fully absorbed by Scotland until 1235, after the rebellion of the Galwegians was crushed.

## Strathclyde

The main language of Strathclyde and elsewhere in the Hen Ogledd in the opening years of the High Middle Ages was Cumbric, a variety of the British language akin to Old Welsh. Sometime after 1018 and before 1054, the kingdom appears to have been conquered by the Scots, most probably during the reign of Máel Coluim mac Cináeda who died in 1034. At this time the territory of Strathclyde extended as far south as the River Derwent. In 1054, the English king Edward the Confessor dispatched Earl Siward of Northumbria against the Scots, then ruled by Macbeth. By the 1070s, if not earlier in the reign of Máel Coluim mac Donnchada, it appears that the Scots again controlled Strathclyde, although William Rufus annexed the southern portion in 1092. The territory was granted by Alexander I to his brother David, later King David I, in 1107.

## Kingdom of Alba or Scotia
### Gaelic kings: Domnall II to Alexander I

Domnall mac Causantín's nickname was dásachtach. This simply meant a madman, or, in early Irish law, a man not in control of his functions and hence without legal culpability. The following long reign (900–942/3) of his successor Causantín is more often regarded as the key to the formation of the Kingdom of Alba.
The period between the accession of Máel Coluim I and Máel Coluim mac Cináeda was marked by good relations with the Wessex rulers of England, intense internal dynastic disunity and, despite this, relatively successful expansionary policies. In 945, king Máel Coluim I received Strathclyde as part of a deal with King Edmund of England, an event offset somewhat by Máel Coluim's loss of control in Moray. Sometime in the reign of king Idulb (954–962), the Scots captured the fortress called oppidum Eden, i.e. Edinburgh. Scottish control of Lothian was strengthened with Máel Coluim II's victory over the Northumbrians at the Battle of Carham (1018). The Scots had probably some authority in Strathclyde since the later part of the ninth century, but the kingdom kept its own rulers, and it is not clear that the Scots were always strong enough to enforce their authority.
The reign of King Donnchad I from 1034 was marred by failed military adventures, and he was killed in a battle with the men of Moray, led by Macbeth who became king in 1040. Macbeth ruled for seventeen years, peaceful enough that he was able to leave to go on pilgrimage to Rome; however, he was overthrown by Máel Coluim, the son of Donnchad, who some months later defeated Macbeth's stepson and successor Lulach to become king Máel Coluim III. In subsequent medieval propaganda, Donnchad's reign was portrayed positively while Macbeth was vilified; William Shakespeare followed this distorted history with his portrayal of both the king and his queen consort, Gruoch, in his play Macbeth.
It was Máel Coluim III, not his father Donnchad, who did more to create the dynasty that ruled Scotland for the following two centuries. Part of the resource was the large number of children he had, perhaps as many as a dozen, through marriage to the widow or daughter of Thorfinn Sigurdsson and afterwards to the Anglo-Hungarian princess Margaret, granddaughter of Edmund Ironside. However, despite having a royal Anglo-Saxon wife, Máel Coluim spent much of his reign conducting slave raids against the English, adding to the woes of that people in the aftermath of the Norman Conquest of England and the Harrying of the North. Marianus Scotus narrates that "the Gaels and French devastated the English; and [the English] were dispersed and died of hunger; and were compelled to eat human flesh".
Máel Coluim's Queen Margaret was the sister of the native claimant to the English throne, Edgar Ætheling. This marriage, and Máel Coluim's raids on northern England, prompted interference by the Norman rulers of England in the Scottish kingdom. King William the Conqueror invaded and Máel Coluim submitted to his authority, giving his oldest son Donnchad as a hostage. From 1079 onwards there were various cross-border raids by both parties and Máel Coluim himself and Edward, his eldest son by Margaret, died in one of them in the Battle of Alnwick, in 1093.
Tradition would have made his brother Domnall Bán Máel Coluim's successor, but it seems that Edward, his eldest son by Margaret, was his chosen heir. With Máel Coluim and Edward dead in the same battle, and his other sons in Scotland still young, Domnall was made king. However, Donnchad II, Máel Coluim's eldest son by his first wife, obtained some support from William Rufus and took the throne. According to the Anglo-Saxon Chronicle his English and French followers were massacred, and Donnchad II himself was killed later in the same year (1094) by Domnall's ally Máel Petair of Mearns. In 1097, William Rufus sent another of Máel Coluim's sons, Edgar, to take the kingship. The ensuing death of Domnall Bán secured the kingship for Edgar, and there followed a period of relative peace. The reigns of both Edgar and his successor Alexander are obscure by comparison with their successors. The former's most notable act was to send a camel (or perhaps an elephant) to his fellow Gael Muircheartach Ua Briain, High King of Ireland. When Edgar died, Alexander took the kingship, while his youngest brother David became Prince of Cumbria.

### Scoto-Norman kings: David I to Alexander III

The period between the accession of David I and the death of Alexander III was marked by dependency upon and relatively good relations with the Kings of England. The period can be regarded as one of great historical transformation, part of a more general phenomenon, which has been called "Europeanisation". The period also witnessed the successful imposition of royal authority across most of the modern country. After David I, and especially in the reign of William I, Scotland's Kings became ambivalent about the culture of most of their subjects. As Walter of Coventry tells us, "The modern kings of Scotland count themselves as Frenchmen, in race, manners, language and culture; they keep only Frenchmen in their household and following, and have reduced the Gaels to utter servitude."
This situation was not without consequence. In the aftermath of William's capture at Alnwick in 1174, the Scots turned on the small number of Middle English-speakers and French-speakers among them. William of Newburgh related that the Scots first attacked the Scoto-English in their own army, and Newburgh reported a repetition of these events in Scotland itself. Walter Bower, writing a few centuries later about the same events confirms that "there took place a most wretched and widespread persecution of the English both in Scotland and Galloway".
The first instance of strong opposition to the Scottish kings was perhaps the revolt of Óengus, the Mormaer of Moray. Other important resistors to the expansionary Scottish kings were Somerled, Fergus of Galloway, Gille Brigte, Lord of Galloway and Harald Maddadsson, along with two kin-groups known today as the MacHeths and the MacWilliams. The threat from the latter was so grave that, after their defeat in 1230, the Scottish crown ordered the public execution of the infant girl who happened to be the last of the MacWilliam line. According to the Lanercost Chronicle:
   the same Mac-William's daughter, who had not long left her mother's womb, innocent as she was, was put to death, in the burgh of Forfar, in view of the market place, after a proclamation by the public crier. Her head was struck against the column of the market cross, and her brains dashed out.
Many of these resistors collaborated, and drew support not just in the peripheral Gaelic regions of Galloway, Moray, Ross and Argyll, but also from eastern "Scotland-proper", and elsewhere in the Gaelic world. However, by the end of the twelfth century, the Scottish kings had acquired the authority and ability to draw in native Gaelic lords outside their previous zone of control in order to do their work, the most famous examples being Lochlann, Lord of Galloway and Ferchar mac in tSagairt. By the reign of Alexander III, the Scots were in a strong position to annex the remainder of the western seaboard, which they did following Haakon Haakonarson's ill-fated invasion and the stalemate of the Battle of Largs with the Treaty of Perth in 1266. The conquest of the west, the creation of the Mormaerdom of Carrick in 1186 and the absorption of the Lordship of Galloway after the Galwegian revolt of Gille Ruadh in 1235 meant that Gaelic speakers under the rule of the Scottish king formed a majority of the population during the so-called Norman period. The integration of Gaelic, Norman and Saxon cultures that began to occur may have been the platform that enabled King Robert I to emerge victorious during the Wars of Independence, which followed soon after the death of Alexander III.

## Geography

At the beginning of this period, the boundaries of Alba contained only a small proportion of modern Scotland. Even when these lands were added to in the tenth and eleventh centuries, the term Scotia was applied in sources only to the region between the River Forth, the central Grampians and the River Spey and only began to be used to describe all of the lands under the authority of the Scottish crown from the second half of the twelfth century. By the late thirteenth century when the Treaty of York (1237) and Treaty of Perth (1266) had fixed the boundaries with the Kingdom of the Scots with England and Norway respectively, its borders were close to the modern boundaries. After this time both Berwick and the Isle of Man were lost to England, and Orkney and Shetland were gained from Norway in the fifteenth century.
The area that became Scotland in this period is divided by geology into five major regions: the Southern Uplands, Central Lowlands, the Highlands, the North-east coastal plain and the Islands. Some of these were further divided by mountains, major rivers and marshes. Most of these regions had strong cultural and economic ties elsewhere: to England, Ireland, Scandinavian and mainland Europe. Internal communications were difficult and the country lacked an obvious geographical centre. Dunfermline emerged as a major royal centre in the reign of Malcolm III and Edinburgh began to be used to house royal records in the reign of David I, but, perhaps because of its proximity and vulnerability to England, it did not become a formal capital in this period.
The expansion of Alba into the wider Kingdom of Scotland was a gradual process combining external conquest and the suppression of occasional rebellions with the extension of seigniorial power through the placement of effective agents of the crown. Neighbouring independent kings became subject to Alba and eventually disappeared from the records. In the ninth century the term mormaer, meaning "great steward", began to appear in the records to describe the rulers of Moray, Strathearn, Buchan, Angus and Mearns, who may have acted as "marcher lords" for the kingdom to counter the Viking threat. Later the process of consolidation is associated with the feudalism introduced by David I, which, particularly in the east and south where the crown's authority was greatest, saw the placement of lordships, often based on castles, and the creation of administrative sheriffdoms, which overlay the pattern of local thegns. It also saw the English earl and Latin comes begin to replace the mormaers in the records. The result has been seen as a "hybrid kingdom, in which Gaelic, Anglo-Saxon, Flemish and Norman elements all coalesced under its 'Normanised', but nevertheless native lines of kings".

## Economy and society
### Economy

The Scottish economy of this period was dominated by agriculture and by short-distance, local trade. There was an increasing amount of foreign trade in the period, as well as exchange gained by means of military plunder. By the end of this period, coins were replacing barter goods, but for most of this period most exchange was done without the use of metal currency.
Most of Scotland's agricultural wealth in this period came from pastoralism, rather than arable farming. Arable farming grew significantly in the "Norman period", but with geographical differences, low-lying areas being subject to more arable farming than high-lying areas such as the Highlands, Galloway and the Southern Uplands. Galloway, in the words of G. W. S. Barrow, "already famous for its cattle, was so overwhelmingly pastoral, that there is little evidence in that region of land under any permanent cultivation, save along the Solway coast". The average amount of land used by a husbandman in Scotland might have been around 26 acres. The native Scots favoured pastoralism, in that Gaelic lords were happier to give away more land to French and Middle English-speaking settlers, while holding on tenaciously to upland regions, perhaps contributing to the Highland/Galloway-Lowland division that emerged in Scotland in the later Middle Ages. The main unit of land measurement in Scotland was the davoch (i.e. "vat"), called the arachor in Lennox and also known as the "Scottish ploughgate". In English-speaking Lothian, it was simply ploughgate. It may have measured about 104 acres (0.42 km$^2$), divided into 4 raths. Cattle, pigs and cheeses were among the chief foodstuffs, from a wide range of produce including sheep, fish, rye, barley, bee wax and honey.
David I established the first chartered burghs in Scotland, copying the burgher charters and Leges Burgorum (rules governing virtually every aspect of life and work) almost verbatim from the English customs of Newcastle-Upon-Tyne. Early burgesses were usually Flemish, English, French and German, rather than Gaelic Scots. The burgh's vocabulary was composed totally of either Germanic and French terms. The councils that ran individual burghs were individually known as lie doussane, meaning the dozen.

### Demography and language

The population of Scotland in this period is unknown. The first reliable information in 1755 shows the inhabitants of Scotland as 1,265,380. Best estimates put the Scottish population for earlier periods in the High Middle Ages between 500,000 and 1,000,000 people, growing from a low point to a high point. Linguistically, the majority of people within Scotland throughout this period spoke the Gaelic language, then simply called Scottish, or in Latin, lingua Scotica. Other languages spoken throughout this period were Old Norse and English, with the Cumbric language disappearing somewhere between 900 and 1100. Pictish may have survived into this period, but the evidence is weak. After the accession of David I, or perhaps before, Gaelic ceased to be the main language of the royal court. From his reign until the end of the period, the Scottish monarchs probably favoured the French language, as evidenced by reports from contemporary chronicles, literature and translations of administrative documents into the French language. English, with French and Flemish, became the main language of Scottish burghs. However, they were, in Barrow's words, "scarcely more than villages ... numbered in hundreds rather than thousands".

### Society

   This is a rough model based on early Gaelic legal texts. The terminology was very different in Scottish Latin sources.
   * Nemed (sacred person, highest rank)
   ** Ard rí (high king)
   ** Rí ruirech (provincial king)
   ** Rí túath (tribal king)
   ** Flaith (lord)
   * Nemed (non-rulers)
   ** Clerics
   ** Fili (poets)
   * Dóernemid (lit. base Nemed)
   ** Brithem (tradesman, harpist, etc)
   * Saoirseach (freeman)
   ** Bóaire (cattle lord)
   ** Ócaire (little lord)
   ** Fer midboth (semi-independent youth)
   ** Fuidir (semi freeman)
   * Unfree
   ** Bothach (serf)
   ** Senchléithe (hereditary serf)
   ** Mug (slave)
The legal tract known as Laws of the Brets and Scots, probably compiled in the reign of David I, underlines the importance of the kin group as entitled to compensation for the killing of individual members. It also lists five grades of man: King, mormaer, toísech, ócthigern and neyfs. The highest rank below the king, the mormaer ("great officer"), were probably about a dozen provincial rulers, later replaced by the English term earl. Below them the toísech (leader), appear to have managed areas of the royal demesne, or that of a mormaer or abbot, within which they would have held substantial estates, sometimes described as shires and the title was probably equivalent to the later thane. The lowest free rank mentioned by the Laws of the Brets and Scots, the ócthigern (literally, little or young lord), is a term the text does not translate into French. There were probably relatively large numbers of free peasant farmers, called husbandmen or bondmen, in the south and north of the country, but fewer in the lands between the Forth and Sutherland until the twelfth century, when landlords began to encourage the formation of such a class through paying better wages and deliberate immigration. Below the husbandmen a class of free farmers with smaller parcels of land developed, with cottars and grazing tenants (gresemen). The non-free naviti, neyfs or serfs existed in various forms of service, with terms with their origins in Irish practice, including cumelache, cumherba and scoloc who were tied to a lord's estate and unable to leave it without permission, but who records indicate often absconded for better wages or work in other regions or in the developing burghs.
The introduction of feudalism from the time of David I, not only introduced sheriffdoms that overlay the pattern of local thanes, but also meant that new tenures were held from the king, or a superior lord, in exchange for loyalty and forms of service that were usually military. However, the imposition of feudalism continued to sit beside the existing system of landholding and tenure and it is not clear how this change impacted on the lives of the ordinary free and unfree workers. In places, feudalism may have tied workers more closely to the land, but the predominantly pastoral nature of Scottish agriculture may have made the imposition of a manorial system on the English model impracticable. Obligations appear to have been limited to occasional labour service, seasonal renders of food, hospitality and money rents.

## Law and government

Early Gaelic law tracts, first written down in the ninth century, reveal a society highly concerned with kinship, status, honour and the regulation of blood feuds. Scottish common law began to take shape at the end of the period, assimilating Gaelic and Celtic law with practices from Anglo-Norman England and the Continent. In the twelfth century, and certainly in the thirteenth, strong continental legal influences began to have more effect, such as Canon law and various Anglo-Norman practices. Pre-fourteenth century law among the native Scots is not always well attested, but extensive knowledge of early Gaelic Law gives some basis for its reconstruction. In the earliest extant Scottish legal manuscript, there is a document called Leges inter Brettos et Scottos. The document survives in Old French, and is almost certainly a French translation of an earlier Gaelic document. It retained a vast number of untranslated Gaelic legal terms. Later medieval legal documents, written both in Latin and Middle English, contain more Gaelic legal terms, examples including slains (Old Irish slán or sláinte; exemption) and cumherba (Old Irish comarba; ecclesiastic heir).
A Judex (pl. judices) represents a post-Norman continuity with the ancient Gaelic orders of lawmen called in English today Brehons. Bearers of the office almost always have Gaelic names north of the Forth or in the south-west. Judices were often royal officials who supervised baronial, abbatial and other lower-ranking "courts". However, the main official of law in the post-Davidian Kingdom of the Scots was the Justiciar who held courts and reported to the king personally. Normally, there were two Justiciarships, organised by linguistic boundaries: the Justiciar of Scotia and the Justiciar of Lothian. Sometimes Galloway had its own Justiciar too.
The office of Justiciar and Judex were just two ways that Scottish society was governed. In the earlier period, the king "delegated" power to hereditary native "officers" such as the Mormaers/Earls and Toísechs/Thanes. It was a government of gift-giving and bardic lawmen. There were also popular courts, the comhdhail, testament to which are dozens of placenames throughout eastern Scotland. In the Norman period, sheriffdoms and sheriffs and, to a lesser extent, bishops (see below) became increasingly important. The former enabled the King to effectively administer royal demesne land. During David I's reign, royal sheriffs had been established in the king's core personal territories; namely, in rough chronological order, at Roxburgh, Scone, Berwick-upon-Tweed, Stirling and Perth. By the reign of William I, there may have been about 30 royal sheriffdoms, including ones at Ayr and Dumfries, key locations on the borders of Galloway-Carrick. As the distribution and number of sheriffdoms expanded, so did royal control. By the end of the thirteenth century, sheriffdoms had been established in westerly locations as far-flung as Wigtown, Kintyre, Skye and Lorne. Through these, the thirteenth-century Scottish king exercised more control over Scotland than any of his later medieval successors. The king himself was itinerant and had no "capital" as such although Scone performed a key function. By ritual tradition, all Scottish kings in this period had to be crowned there by the Mormaers of Strathearn and Fife. Although King David I tried to build up Roxburgh as a capital, in the twelfth and thirteenth centuries, more charters were issued at Scone than any other location. Other popular locations were nearby Perth, Stirling, Dunfermline and Edinburgh. In the earliest part of this era, Forres and Dunkeld seem to have been the chief royal residences.
Records from the Scandinavian-held lands are much-less well documented by comparison. Udal law formed the basis of the legal system and it is known that the Hebrides were taxed using the Ounceland measure. Althings were open-air governmental assemblies that met in the presence of the jarl and the meetings were open to virtually all free men. At these sessions decisions were made, laws passed and complaints adjudicated. Examples include Tingwall and Law Ting Holm in Shetland, Dingwall in Easter Ross, and Tynwald on the Isle of Man.

## Warfare
### Land warfare

By the twelfth century the ability of lords and the king to call on wider bodies of men beyond their household troops for major campaigns had become the "common" (communis exertcitus) or "Scottish army" (exercitus Scoticanus), the result of a universal obligation based on the holding of variously named units of land. Later decrees indicated that the common army was a levy of all able-bodied freemen aged between 16 and 60, with 8-days warning. It produced relatively large numbers of men serving for a limited period, usually as unarmoured or poorly armoured bowmen and spearmen. In this period it continued to be mustered by the earls and they often led their men in battle, as was the case in the Battle of the Standard in 1138. It would continue to provide the vast majority of Scottish national armies, potentially producing tens of thousands of men for short periods of conflict, into the early modern era.
There also developed obligations that produced smaller numbers of feudal troops. The Davidian Revolution of the twelfth century was seen by Geoffrey Barrow as bringing "fundamental innovations in military organization". These included the knight's fee, homage and fealty, as well as castle-building and the regular use of professional cavalry, as knights held castles and estates in exchange for service, providing troops on a 40-day basis. David's Norman followers and their retinues were able to provide a force of perhaps 200 mounted and armoured knights, but the vast majority of his forces were the "common army" of poorly armed infantry, capable of performing well in raiding and guerrilla warfare. Although such troops were only infrequently able to stand up to the English in the field, nonetheless they did manage to do so critically in the wars of independence at Stirling Bridge in 1297 and Bannockburn in 1314.

### Marine warfare

The Viking onslaught of the British Isles was based on superior sea-power, which enabled the creation of the thalassocracies of the north and west. In the late tenth century the naval battle of "Innisibsolian" (tentatively identified as taking place near the Slate Islands of Argyll) was won by Alban forces over Vikings, although this was an unusual setback for the Norse. In 962 Ildulb mac Causantín, King of Scots, was killed (according to the Chronicle of the Kings of Alba) fighting the Norse near Cullen, at the Battle of Bauds, and although there is no evidence of permanent Viking settlement on the east coast of Scotland south of the Moray Firth, raids and even invasions certainly occurred. Dunnottar was taken during the reign of Domnall mac Causantín and the Orkneyinga saga records an attack on the Isle of May, by Sweyn Asleifsson and Margad Grimsson. The long-ship, the key to their success, was a graceful, long, narrow, light, wooden boat with a shallow draft hull designed for speed. This shallow draft allowed navigation in waters only one metre deep and permitted beach landings, while its light weight enabled it to be carried over portages. Longships were also double-ended, the symmetrical bow and stern allowing the ship to reverse direction quickly without having to turn around. In the Gàidhealtachd they were eventually succeeded by the Birlinn, highland galley and lymphad, which, in ascending order of size, and which replaced the steering-board with a stern-rudder from the late twelfth century. Forces of ships were raised through obligations of a ship-levy through the system of ouncelands and pennylands, which have been argued to date back to the muster system of Dál Riata, but were probably introduced by Scandinavian settlers. Later evidence suggests that the supply of ships for war became linked to military feudal obligations. Viking naval power was disrupted by conflicts between the Scandinavian kingdoms, but entered a period of resurgence in the 13th century when Norwegian kings began to build some of the largest ships seen in Northern European waters, until Haakon Haakonson's ill-fated expedition in 1263 left the Scottish crown the most significant power in the region.

## Christianity and the Church

By the tenth century, all of northern Britain was Christianised, except the Scandinavian north and west, which had been lost to the church in the face of Norse settlement.

### Saints

Like every other Christian country, one of the main features of medieval Scottish Christianity was the Cult of Saints. Saints of Irish origin who were particularly revered included various figures called St Faelan and St. Colman, and saints Findbar and Finan. The most important missionary saint was Columba, who emerged as a national figure in the combined Scottish and Pictish kingdom, with a new centre established in the east at Dunkeld by Kenneth I for part of his relics. He remained a major figure into the fourteenth century and a new foundation was endowed by William I at Arbroath Abbey and the relics in the Monymusk Reliquary handed over to the Abbot's care. Regional saints remained important to local identities. In Strathclyde the most important saint was St Kentigern, in Lothian, St Cuthbert and after his martyrdom around 1115 a cult emerged in Orkney, Shetland and northern Scotland around Magnus Erlendsson, Earl of Orkney. The cult of St Andrew in Scotland was established on the East coast by the Pictish kings as early as the eighth century. The shrine, which from the twelfth century was said to have contained the relics of the saint, brought to Scotland by Saint Regulus, began to attract pilgrims from Scotland, but also from England and further away. By the twelfth century the site at Kilrymont, had become known simply as St. Andrews and it became increasingly associated with Scottish national identity and the royal family. It was renewed as a focus for devotion with the patronage of Queen Margaret, who also became important after her canonisation in 1250 and the ceremonial transfer of her remains to Dunfermline Abbey, as one of the most revered national saints.

### Organisation

There is some evidence that Christianity made inroads into the Viking-controlled Highlands and Islands before the official conversion at the end of the tenth century. There are a relatively large number of isles called Pabbay or Papa in the Western and Northern Isles, which may indicate a "hermit's" or "priest's isle" from this period. Changes in patterns of grave goods and the use of Viking place names using -kirk also suggest that Christianity had begun to spread before the official conversion. According to the Orkneyinga Saga the Northern Isles were Christianised by Olav Tryggvasson in 995 when he stopped at South Walls on his way from Ireland to Norway. The King summoned the jarl Sigurd the Stout and said "I order you and all your subjects to be baptised. If you refuse, I'll have you killed on the spot and I swear I will ravage every island with fire and steel." Unsurprisingly, Sigurd agreed and the islands became Christian at a stroke, receiving their own bishop in the early eleventh century. Elsewhere in Scandinavian Scotland the record is less clear. There was a Bishop of Iona until the late tenth century and there is then a gap of more than a century, possibly filled by the Bishops of Orkney, before the appointment of the first Bishop of Mann in 1079.
At the beginning of the period Scottish monasticism was dominated by monks called Céli Dé (lit. "vassals of God"), anglicised as culdees. At St Andrews and elsewhere, Céli Dé abbeys are recorded and the round towers at Brechin and Abernethy are evidence of Irish influence. Gaelic monasticism was vibrant and expansionary for much of the period and dozens of monasteries, often called Schottenklöster, were founded by Gaelic monks on the continent. The introduction of the continental type of monasticism to Scotland is associated with Queen Margaret, the wife of Máel Coluim III, although her exact role is unclear. She was in communication with Lanfranc, Archbishop of Canterbury, and he provided a few monks for a new Benedictine abbey at Dunfermline (c. 1070). Subsequent foundations under Margaret's sons, the kings Edgar, Alexander I and particularly David I, tended to be of the reformed type that followed the lead set by Cluny. These stressed the original Benedictine virtues of poverty, chastity and obedience, but also contemplation and service of the Mass and were followed in various forms by large numbers of reformed Benedictine, Augustinian and Cistercian houses.
Before the twelfth century most Scottish churches had collegiate bodies of clergy who served over a wide area, often tied together by devotion to a particular missionary saint. From this period local lay landholders, perhaps following the example of David I, began to adopt the continental practice of building churches on their land for the local population and endowing them with land and a priest, beginning in the south, spreading to the north-east and then the west, being almost universal by the first survey of the Scottish Church for papal taxation in 1274. The administration of these parishes was often given over to local monastic institutions in a process known as appropriation. Scotland had little clear diocesan structure before the Norman period. There were bishoprics based on various ancient churches, but some are very obscure in the records and there appear to be long vacancies. From around 1070, in the reign of Malcolm III, there was a "Bishop of Alba" resident at St. Andrews, but it is not clear what authority he had over the other bishops. After the Norman Conquest of England, the Archbishops of both Canterbury and York each claimed superiority over the Scottish church. The church in Scotland attained independent status after the Papal Bull of Celestine III (Cum universi, 1192) by which all Scottish bishoprics except Galloway were formally independent of York and Canterbury. However, unlike Ireland, which had been granted four Archbishoprics in the same century, Scotland received no Archbishop and the whole Ecclesia Scoticana, with individual Scottish bishoprics (except Whithorn/Galloway), became the "special daughter of the see of Rome". It was in practice run by special councils made up of all its bishops, with the bishop of St Andrews emerging as the most important player.

## Culture

As a predominantly Gaelic society, most Scottish cultural practices throughout this period mirrored closely those of Ireland, or at least those of Ireland with some Pictish borrowings. After David I, the French-speaking kings introduced cultural practices popular in Anglo-Norman England, France and elsewhere. As in all pre-modern societies, storytelling was popular. The English scholar D. D. R. Owen, who specialises in the literature of this era, writes that "Professional storytellers would ply their trade from court to court. Some of them would have been native Scots, no doubt offering legends from the ancient Celtic past performed ... in Gaelic when appropriate, but in French for most of the new nobility". Almost all of these stories are lost, although some have come down in the Gaelic or Scots oral tradition. One form of oral culture extremely well accounted for in this period is genealogy. There are dozens of Scottish genealogies surviving from this era, covering everyone from the Mormaers of Lennox and Moray to the Scottish king himself. Scotland's kings maintained an ollamh righe, a royal high poet who had a permanent place in all medieval Gaelic lordships, and whose purpose was to recite genealogies when needed, for occasions such as coronations.
Before the reign of David I, the Scots possessed a flourishing literary elite who regularly produced texts in both Gaelic and Latin that were frequently transmitted to Ireland and elsewhere. Dauvit Broun has shown that a Gaelic literary elite survived in the eastern Scottish lowlands, in places such as Loch Leven and Brechin into the thirteenth century, However, surviving records are predominantly written in Latin, and their authors would usually translate vernacular terms into Latin, so that historians are faced with researching a Gaelic society clothed in Latin terminology. Even names were translated into more common continental forms; for instance, Gilla Brigte became Gilbert, Áed became Hugh, etc. As far as written literature is concerned, there may be more medieval Scottish Gaelic literature than is often thought. Almost all medieval Gaelic literature has survived because it was sustained in Ireland, not in Scotland. Thomas Owen Clancy has recently all but proven that the Lebor Bretnach, the so-called "Irish Nennius", was written in Scotland, and probably at the monastery in Abernethy. Yet this text survives only from manuscripts preserved in Ireland. Other literary work that has survived include that of the prolific poet Gille Brighde Albanach. About 1218, Gille Brighde wrote a poem — Heading for Damietta — on his experiences of the Fifth Crusade. In the thirteenth century, French flourished as a literary language, and produced the Roman de Fergus, one of the earliest pieces of non-Celtic vernacular literature to survive from Scotland.
There is no extant literature in the English language in this era. There is some Norse literature from Scandinavian parts such as Darraðarljóð, which is located in Caithness, the story being a "powerful mixture of Celtic and Old Norse imagery". The famous Orkneyinga Saga, which pertains to the early history of the Earldom of Orkney, was written down in Iceland.
In the Middle Ages, Scotland was renowned for its musical skill. Gerald of Wales, a medieval clergyman and chronicler, explains the relationship between Scottish and Irish music:
   Scotland, because of her affinity and intercourse [with Ireland], tries to imitate Ireland in music and strives in emulation. Ireland uses and delights in two instruments only, the harp namely, and the tympanum. Scotland uses three, the harp, the tympanum and the crowd. In the opinion, however, of many, Scotland has by now not only caught up on Ireland, her instructor, but already far outdistances her and excels her in musical skill. Therefore, [Irish] people now look to that country as the fountain of the art.
Playing the harp (clarsach) was especially popular with medieval Scots – half a century after Gerald's writing, King Alexander III kept a royal harpist at his court. Of the three medieval harps that survive, two come from Scotland (Perthshire), and one from Ireland. Singers also had a royal function. For instance, when the king of Scotland passed through the territory of Strathearn, it was the custom that he be greeted by seven female singers, who would sing to him. When Edward I approached the borders of Strathearn in the summer of 1296, he was met by these seven women, "who accompanied the King on the road between Gask and Ogilvie, singing to him, as was the custom in the time of the late Alexander kings of Scots".

## Outsiders' views

The Irish thought of Scotland as a provincial place. Others thought of it as an outlandish or barbaric place. "Who would deny that the Scots are barbarians?" was a rhetorical question posed in the 12th century by the Anglo-Flemish author of De expugnatione Lyxbonensi (On the Conquest of Lisbon). A century later Louis IX of France was reported to have said to his son "I would prefer that a Scot should come from Scotland and govern the people well and faithfully, than that you, my son, should be seen to govern badly."
This characterisation of the Scots was often politically motivated, and many of the most hostile writers were based in areas frequently subjected to Scottish raids. English and French accounts of the Battle of the Standard contain many accounts of Scottish atrocities. For instance, Henry of Huntingdon notes that the Scots: "cleft open pregnant women, and took out the unborn babes; they tossed children upon the spear-points, and beheaded priests on altars: they cut the head of crucifixes, and placed them on the trunks of the slain, and placed the heads of the dead upon the crucifixes. Thus wherever the Scots arrived, all was full of horror and full of savagery." A less hostile view was given by Guibert of Nogent in the First Crusade, who encountered Scots and wrote: "You might have seen a crowd of Scots, a people savage at home but unwarlike elsewhere, descend from their marshy lands, with bare legs, shaggy cloaks, their purse hanging from their shoulders; their copious arms seemed ridiculous to us, but they offered their faith and devotion as aid."
There was also a general belief that Scotland-proper was an island, or at least a peninsula, known as Scotia, Alba or Albania. Matthew Paris, a Benedictine monk and cartographer, drew a map in this manner in the mid-thirteenth century and called the "island" Scotia ultra marina. A later medieval Italian map applies this geographical conceptualization to all of Scotland. The Arab geographer al-Idrisi, shared this view: "Scotland adjoins the island of England and is a long peninsula to the north of the larger island. It is uninhabited and has neither town nor village. Its length is 150 miles."

## National identity

In this period, the word "Scot" was not the word used by the vast majority of Scots to describe themselves, except to foreigners, among whom it was the most common word. The Scots called themselves Albanach or simply Gaidel. Both "Scot" and Gaidel were ethnic terms that connected them to the majority of the inhabitants of Ireland. As the author of De Situ Albanie notes at the beginning of the thirteenth century: "The name Arregathel [Argyll] means margin of the Scots or Irish, because all Scots and Irish are generally called 'Gattheli'."
Likewise, the inhabitants of English and Norse-speaking parts were ethnically linked with other regions of Europe. At Melrose, people could recite religious literature in the English language. In the later part of the twelfth century, the Lothian writer Adam of Dryburgh describes Lothian as "the Land of the English in the Kingdom of the Scots". In the Northern Isles the Norse language evolved into the local Norn, which lingered until the end of the eighteenth century, when it finally died out and Norse may also have survived as a spoken language until the sixteenth century in the Outer Hebrides.
Scotland came to possess a unity that transcended Gaelic, English, Norman and Norse ethnic differences and by the end of the period, the Latin, Norman-French and English word "Scot" could be used for any subject of the Scottish king. Scotland's multilingual Scoto-Norman monarchs and mixed Gaelic and Scoto-Norman aristocracy all became part of the "Community of the Realm", in which ethnic differences were less divisive than in Ireland and Wales.