In the Early Middle Ages war on land was characterised by the use of small war-bands of household troops often engaging in raids and low level warfare.
By the High Middle Ages, the kings of Scotland could command forces of tens of thousands of men for short periods as part of the "common army", mainly of poorly armoured spearmen and bowmen.
After the "Davidian Revolution" of the twelfth century, which introduced elements of feudalism to Scotland, these forces were augmented by small numbers of mounted and heavily armoured knights.
In the Late Middle Ages under the Stewart kings these forces were further augmented by specialist troops, particularly men-at-arms and archers, hired by bonds of manrent, similar to English indentures of the same period.
[8] Forts of the Early Medieval era were often smaller, more compact, "nucleated" constructions,[10] sometimes utilising major geographical features, as at Dunadd and Dunbarton.
[15] The Viking raids and invasions of the British Isles were based on superior sea-power, which enabled the creation of the thalassocracies (sea-based lordships) of the north and west.
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 3 feet (1 m) deep and permitted beach landings, while its light weight enabled it to be carried over portages.
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.
When David I acceded to the Scottish throne in 1124 after spending much of his life living as a baron in England, he brought with him a number of Anglo-Norman vassals, to whom he distributed lands and titles, first in the lowlands and borders and then later in buffer zones in the North and West.
[20] 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, but only infrequently able to stand up to the English in the field, as they managed to do critically in the wars of independence at Stirling Bridge in 1297 and Bannockburn in 1314.
Like the longship, they had a high stem and stern, and were still small and light enough to be dragged across portages, but they replaced the steering-board with a stern-rudder from the late twelfth century.
[39][40] Viking naval power was disrupted by conflicts between the Scandinavian kingdoms, but entered a period of resurgence in the thirteenth century when Norwegian kings began to build some of the largest ships seen in Northern European waters.
[41] In 1263 Hakon responded to Alexander III's designs on the Hebrides by personally leading a major fleet of forty vessels, including the Kristsúðin, to the islands, where they were swelled by local allies to as many as 200 ships.
[38] Defeat on land at the Battle of Largs and winter storms forced the Norwegian fleet to return home, leaving the Scottish crown as the major power in the region and leading to the ceding of the Western Isles to Alexander in 1266.
[43] Scottish victories in the late thirteenth and early fourteenth centuries have been seen as part of a wider "infantry revolution", that saw a decline in the primacy of the mounted knight on the battlefield.
[44] In the late medieval period Scottish men-at-arms often dismounted to fight beside the infantry, with perhaps a small mounted reserve, and it has been suggested that these tactics were copied and refined by the English, leading to their successes in the Hundred Years' War.
[46] By the second half of the fourteenth century, in addition to forces raised on the basis of common service and feudal obligations, money contracts of bonds or bands of manrent, similar to English indentures of the same period, were being used to retain more professional troops, particular men-at-arms and archers.
[55] They were typically a tall, square, stone-built, crenelated building; often also surrounded by a barmkyn or bawn, a walled courtyard designed to hold valuable animals securely, but not necessarily intended for serious defence.
[56][57] They were built extensively on both sides of the border with England, and James IV's forfeiture of the Lordship of the Isles in 1494 led to an immediate burst of castle building across the region.
The grandest buildings of this type were the royal palaces in this style at Linlithgow, Holyrood, Falkland and the remodelled Stirling Castle, begun by James IV.
Edward I had the major ingredients for gunpowder shipped to Stirling in 1304, probably to produce a form of Greek fire, to be shot into the town in earthenware pots by siege engines.
[68] James II had a royal gunner and received gifts of artillery from the continent, including two giant bombards made for Philip the Good, Duke of Burgundy, one of which, Mons Meg, still survives.
[72] James III also experienced ill-fortune, when artillery sent from Sigismund, Archduke of Austria sank in a storm en route to Scotland in 1481.
[74] However, his 18 heavy artillery pieces had to be drawn by 400 oxen and slowed the advancing Scots army, proving ineffective against the longer range and smaller calibre English guns at the Battle of Flodden.
[75]English naval power was vital to Edward I's successful campaigns in Scotland from 1296, using largely merchant ships from England, Ireland and his allies in the Islands to transport and supply his armies.
This was largely focused on the west coast, with the Exchequer Rolls of 1326 recording the feudal duties of his vassals in that region to aid him with their vessels and crews.
In the late fourteenth century naval warfare with England was conducted largely by hired Scots, Flemish and French merchantmen and privateers.
James IV put the enterprise on a new footing, founding a harbour at Newhaven in May 1504, and two years later ordering the construction of a dockyard at the Pools of Airth.
[79] The latter, built at great expense at Newhaven and launched in 1511, was 240 feet (73 m) in length, weighed 1,000 tons, had 24 cannon, and was, at that time, the largest ship in Europe.