Early Middle Ages Minor kingdoms In the centuries after the departure of the Romans from Britain, four major circles of influence emerged within the borders of what is now Scotland. In the east were the
Picts, whose kingdoms eventually stretched from the river Forth to Shetland. The first identifiable king to have exerted a superior and wide-ranging authority, was
Bridei mac Maelchon (r. c. 550–84), whose power was based in the Kingdom of Fidach and his base was at the fort of Craig Phadrig near modern
Inverness. After his death leadership seems to have shifted to the
Fortriu, whose lands were centred on
Strathearn and
Menteith and who raided along the eastern coast into modern England. Christian missionaries from
Iona appear to have begun the conversion of the Picts to Christianity from 563. The kingdom reached its height under
Áedán mac Gabráin (r. 574–608), but its expansion was checked at the
Battle of Degsastan in 603 by
Æthelfrith of Northumbria. In the south was the British (
Brythonic)
Kingdom of Strathclyde, descendants of the peoples of the Roman influenced kingdoms of "
The Old North", often named Alt Clut, the Brythonic name for their capital at
Dumbarton Rock. In 642, they defeated the men of Dál Riata, but the kingdom suffered a number of attacks from the Picts, and later their Northumbrian allies, between 744 and 756. After this, little is recorded until Alt Clut was burnt and probably destroyed in 780, although by whom and what in what circumstances is not known. Finally, there were the English or "Angles", Germanic invaders who had conquered much of southern Britain and held the Kingdom of
Bernicia, in the south-east. The first English king in the historical record is
Ida, who is said to have obtained the throne and the kingdom about 547. Ida's grandson, Æthelfrith, united his kingdom with
Deira to the south to form Northumbria around the year 604. There were changes of dynasty, and the kingdom was divided, but it was re-united under Æthelfrith's son
Oswald (r. 634–42), who had converted to Christianity while in exile in Dál Riata and looked to Iona for missionaries to help convert his kingdom.
Origins of the Kingdom of Alba This situation was transformed in AD 793 when ferocious Viking raids began on monasteries like Iona and Lindisfarne, creating fear and confusion across the kingdoms of North Britain.
Orkney,
Shetland and the Western Isles eventually fell to the Norsemen. The King of Fortriu,
Eógan mac Óengusa, and the King of Dál Riata
Áed mac Boanta, were among the dead in a major defeat at the hands of the Vikings in 839. A mixture of Viking and Gaelic Irish settlement into south-west Scotland produced the
Gall-Gaidel, the
Norse Irish, from which the region gets the modern name
Galloway. Sometime in the ninth century the beleaguered Kingdom of Dál Riata lost the Hebrides to the Vikings, when
Ketil Flatnose is said to have founded the
Kingdom of the Isles. These threats may have speeded a long-term process of gaelicisation of the Pictish kingdoms, which adopted Gaelic language and customs. There was also a merger of the Gaelic and Pictish crowns, although historians debate whether it was a Pictish takeover of Dál Riata, or the other way around. This culminated in the rise of
Cínaed mac Ailpín (Kenneth MacAlpin) in the 840s, which brought to power the
House of Alpin. In AD 867 the Vikings seized Northumbria, forming the
Kingdom of York; three years later they stormed the Britons' fortress of Dumbarton and subsequently conquered much of England except for a reduced Kingdom of Wessex, When he died as king of the combined kingdom in 900,
Domnall II (Donald II) was the first man to be called
rí Alban (i.e.
King of Alba). The term Scotia would be increasingly be used to describe the kingdom between North of the Forth and Clyde and eventually the entire area controlled by its kings would be referred to as Scotland.
High Middle Ages Gaelic kings: Constantine II to Alexander I The long reign (900–942/3) of
Causantín (Constantine II) is often regarded as the key to formation of the Kingdom of Alba. He was later credited with bringing Scottish Christianity into conformity with the Catholic Church. After fighting many battles, his defeat at
Brunanburh was followed by his retirement as a
Culdee monk at St. Andrews. The period between the accession of his successor
Máel Coluim I (Malcolm I) and Máel Coluim mac Cináeda (Malcolm II) was marked by good relations with the
Wessex rulers of England, intense internal dynastic disunity and relatively successful expansionary policies. In 945, Máel Coluim I annexed
Strathclyde, where the kings of Alba had probably exercised some authority since the later ninth century, as part of an agreement with King
Edmund of England. This event was offset by loss of control in Moray. The reign of King
Donnchad I (Duncan I) from 1034 was marred by failed military adventures, and he was defeated and killed by
Macbeth, the
Mormaer of Moray, who became king in 1040. MacBeth ruled for 17 years before he was overthrown by
Máel Coluim, the son of Donnchad, who some months later defeated Macbeth's
step-son and successor
Lulach to become king Máel Coluim III (Malcolm III). It was Máel Coluim III, who acquired the nickname "Canmore" (
Cenn Mór, "Great Chief"), which he passed to his successors and who did most to create the
Dunkeld dynasty that ruled Scotland for the following two centuries. Particularly important was his second marriage to the Anglo-Hungarian princess
Margaret. This marriage, and raids on northern England, prompted
William the Conqueror to invade and Máel Coluim submitted to his authority, opening up Scotland to later claims of sovereignty by English kings. When Malcolm died in 1093, his brother
Domnall III (Donald III) succeeded him. However,
William II of England backed Máel Coluim's son by his first marriage,
Donnchad, as a pretender to the throne and he seized power. His murder within a few months saw Domnall restored with one of Máel Coluim sons by his second marriage,
Edmund, as his heir. The two ruled Scotland until two of Edmund's younger brothers returned from exile in England, again with English military backing. Victorious,
Edgar, the oldest of the three, became king in 1097. Shortly afterwards Edgar and the King of Norway,
Magnus Bare Legs concluded a treaty recognising Norwegian authority over the Western Isles. In practice Norse control of the Isles was loose, with local chiefs enjoying a high degree of independence. He was succeeded by his brother
Alexander, who reigned 1107–24.
Scoto-Norman kings: David I to Alexander III alongside his successor,
Malcolm IV When Alexander died in 1124, the crown passed to Margaret's fourth son
David I, who had spent most of his life as an English baron. His reign saw what has been characterised as a "
Davidian Revolution", by which native institutions and personnel were replaced by English and French ones, underpinning the development of later Medieval Scotland. Members of the Anglo-Norman nobility took up places in the Scottish aristocracy and he introduced a system of
feudal land tenure, which produced
knight service, castles and an available body of heavily armed body of cavalry. He created an Anglo-Norman style of court, introduced the office of
justicar to oversee justice, and local offices of
sheriffs to administer localities. He established the first
royal burghs in Scotland, granting rights to particular settlements, which led to the development of the first true Scottish towns and helped facilitate economic development as did the introduction of the first recorded Scottish coinage. He continued a process begun by his mother and brothers, of helping to establish foundations that brought the reformed monasticism based on that at
Cluny. He also played a part in the organisation of diocese on lines closer to those in the rest of Western Europe. These reforms were pursued under his successors and grandchildren
Malcolm IV of Scotland and
William I, with the crown now passing down the main line of descent through primogeniture, leading to the first of a series of minorities.
Late Middle Ages Wars of Independence: Margaret to David II The death of King Alexander III in 1286, and then of his granddaughter and heir
Margaret, Maid of Norway in 1290, left 14 rivals for succession. To prevent civil war the Scottish magnates asked
Edward I of England to arbitrate, for which he extracted legal recognition that the realm of Scotland was held as a feudal dependency to the throne of England before choosing
John Balliol, the man with the strongest claim, who became king in 1292.
Robert Bruce, 5th Lord of Annandale, the next strongest claimant, accepted this outcome with reluctance. Over the next few years Edward I used the concessions he had gained to systematically undermine both the authority of King John and the independence of Scotland. In 1295 John, on the urging of his chief councillors, entered into an alliance with France, known as the
Auld Alliance. In 1296 Edward invaded Scotland, deposing King John. The following year
William Wallace and
Andrew de Moray raised forces to resist the occupation and under their joint leadership an English army was defeated at the
Battle of Stirling Bridge. For a short time Wallace ruled Scotland in the name of John Balliol as guardian of the realm. Edward came north in person and defeated Wallace at the
Battle of Falkirk. The English barons refuted the French-inspired papal claim to Scottish overlordship in the
Barons' Letter, 1301, claiming it rather as long possessed by English kings. Wallace escaped but probably resigned as Guardian of Scotland. In 1305 he fell into the hands of the English, who executed him for treason despite the fact that he believed he owed no allegiance to England. Rivals
John Comyn and
Robert the Bruce, grandson of the claimant, were appointed as joint guardians in his place. On 10 February 1306, Bruce participated in the murder of Comyn, at Greyfriars Kirk in
Dumfries. Less than seven weeks later, on 25 March, Bruce was crowned as king. However, Edward's forces overran the country after defeating Bruce's small army at the
Battle of Methven. Despite the excommunication of Bruce and his followers by
Pope Clement V, his support slowly strengthened; and by 1314 with the help of leading nobles such as Sir
James Douglas and
Thomas Randolph only the castles at Bothwell and Stirling remained under English control. Edward I had died in 1307. His heir
Edward II moved an army north to break the siege of
Stirling Castle and reassert control. Robert defeated that army at the
Battle of Bannockburn in 1314, securing
de facto independence. In 1320 the
Declaration of Arbroath, a remonstrance to the pope from the nobles of Scotland, helped convince
Pope John XXII to overturn the earlier excommunication and nullify the various acts of submission by Scottish kings to English ones so that Scotland's sovereignty could be recognised by the major European dynasties. The declaration has also been seen as one of the most important documents in the development of a Scottish national identity. In 1328,
Edward III signed the
Treaty of Northampton acknowledging Scottish independence under the rule of Robert the Bruce. However, four years after Robert's death in 1329, England once more invaded on the pretext of restoring
Edward Balliol, son of John Balliol, to the Scottish throne, thus starting the Second War of Independence.
The Stewarts: Robert II to James IV (r. 1437–60), one of the most successful members of the
Stewart dynasty before his accidental death at the siege of Roxburgh After David II's death,
Robert II, the first of the Stewart kings, came to the throne in 1371. He was followed in 1390 by his ailing son John, who took the
regnal name Robert III. During Robert III's reign (1390–1406), actual power rested largely in the hands of his brother,
Robert Stewart, Duke of Albany. After the suspicious death (possibly on the orders of the Duke of Albany) of his elder son, David, Duke of Rothesay in 1402, Robert, fearful for the safety of his younger son, the future
James I, sent him to France in 1406. However, the English captured him en route and he spent the next 18 years as a prisoner held for ransom. As a result, after the death of Robert III, regents ruled Scotland: first, the Duke of Albany; and later his son
Murdoch. When Scotland finally paid the ransom in 1424, James, aged 32, returned with his English bride determined to assert this authority. His young son came to the throne as
James III, resulting in another minority, with
Robert, Lord Boyd emerging as the most important figure. In 1468 James married
Margaret of Denmark, receiving the Orkney and the Shetland Islands in payment of her dowry. In 1469 the King asserted his control, executing members of the Boyd family and his brothers,
Alexander, Duke of Albany and
John, Earl of Mar, resulting in Albany leading an English backed invasion and becoming effective ruler. The English retreated, having taken
Berwick for the last time in 1482, and James was able to regain power. However, the King managed to alienate the barons, former supporters, his wife and his son James. He was defeated at the
Battle of Sauchieburn and killed in 1488. His successor
James IV successfully ended the quasi-independent rule of the
Lord of the Isles, bringing the Western Isles under effective Royal control for the first time. However, in 1512 the Auld Alliance was renewed and under its terms, when the French were attacked by the English under
Henry VIII the next year, James IV invaded England in support. The invasion was stopped decisively at the
Battle of Flodden during which the King, many of his nobles, and a large number of ordinary troops were killed. Once again Scotland's government lay in the hands of regents in the name of the infant
James V. ==Government==