Edinburgh Castle


Edinburgh Castle is a historic castle in Edinburgh, Scotland. It stands on Castle Rock, which has been occupied by humans since at least the Iron Age. There has been a royal castle on the rock since the reign of Malcolm III in the 11th century, and the castle continued to be a royal residence until 1633. From the 15th century, the castle's residential role declined, and by the 17th century it was principally used as a military garrison. Its importance as a part of Scotland's national heritage was recognised increasingly from the early 19th century onwards, and various restoration programmes have been carried out over the past century and a half.
Edinburgh Castle has played a prominent role in Scottish history, and has served variously as a royal residence, an arsenal, a treasury, a national archive, a mint, a prison, a military fortress, and the home of the Honours of Scotland – the Scottish regalia. As one of the most important strongholds in the Kingdom of Scotland, the castle was involved in many historical conflicts from the Wars of Scottish Independence in the 14th century to the Jacobite rising of 1745. Research undertaken in 2014 identified 26 sieges in its 1,100-year history, giving it a claim to having been "the most besieged place in Great Britain and one of the most attacked in the world". Few of the present buildings pre-date the Lang Siege of 1573, when the medieval defences were largely destroyed by artillery bombardment. The most notable exceptions are St Margaret's Chapel from the early 12th century, which is regarded as the oldest building in Edinburgh, the Royal Palace, and the early 16th-century Great Hall. The castle is the site of the Scottish National War Memorial and the National War Museum. The British Army is still responsible for some parts of the castle, although its presence is now largely ceremonial and administrative. The castle is the regimental headquarters of the Royal Regiment of Scotland and the Royal Scots Dragoon Guards and houses their regimental museums, along with that of the Royal Scots.
The castle, in the care of Historic Environment Scotland, is Scotland's most visited paid tourist attraction, with over 2.2 million visitors in 2019 and over 70 percent of leisure visitors to Edinburgh visiting the castle. As the backdrop to the Royal Edinburgh Military Tattoo during the annual Edinburgh Festival, the castle has become a recognisable symbol of Edinburgh in particular and of Scotland as a whole.

History

Pre-history of the Castle Rock

Geology

The castle stands upon the plug of an extinct volcano, which is estimated to have risen about 350 million years ago during the lower Carboniferous period. The Castle Rock is the remains of a volcanic pipe, which cut through the surrounding sedimentary rock before cooling to form very hard dolerite, a type of basalt. Subsequent glacial erosion was resisted by the dolerite, which protected the softer rock to the east, leaving a crag and tail formation.
The summit of the Castle Rock is above sea level, with rocky cliffs to the south, west, and north, rising to a height of above the surrounding landscape. This means that the only readily accessible route to the castle lies to the east, where the ridge slopes more gently. The defensive advantage of such a site is self-evident, but the geology of the rock also presents difficulties, since basalt is extremely impermeable. Providing water to the Upper Ward of the castle was problematic, and despite the sinking of a deep well, the water supply often ran out during drought or siege, including during the Lang Siege in 1573.

Earliest habitation

An archaeological investigation has yet to establish when the Castle Rock was first used for human habitation. There is no record of any Roman interest in the location during General Agricola's invasion of northern Britain near the end of the 1st century AD. Ptolemy's map of the 2nd century AD shows a settlement in the territory of the Votadini named "Alauna", meaning "rock place", making this possibly the earliest known name for the Castle Rock. This could, however, refer to another of the tribe's hill forts in the area. The Orygynale Cronykil of Andrew of Wyntoun, an early source for Scottish history, names "Ebrawce", a legendary King of the Britons, as having "byggyd Edynburgh". According to the earlier chronicler, Geoffrey of Monmouth, Ebraucus had fifty children by his twenty wives, and was the founder of "Kaerebrauc", "Alclud" and the "Maidens' Castle". The 16th-century English writer John Stow, credited Ebraucus with building "the Castell of Maidens called Edenbrough" in 989 BC. The name "Maidens' Castle" occurs frequently up until the 16th century. It appears in charters of David I and his successors in the Kingdom of Scotland, although the reason for it is not known. William Camden's survey of Britain, Britannia, records that "the Britans called Castle Myned Agned , the Scots, the Maidens Castle and the Virgins Castle, of certaine young maidens of the Picts roiall bloud who were kept there in old time". According to the 17th-century antiquarian Father Richard Hay, the "maidens" were a group of nuns, who were ejected from the castle and replaced by canons, considered "fitter to live among soldiers". However, this story was considered "apocryphal" by the 19th-century antiquarian Daniel Wilson and has been ignored by historians since. The name may have been derived from a "Cult of the Nine Maidens" type of legend. Arthurian legends suggest that the site once held a shrine to Morgain la Fee, one of nine sisters. Later, St Monenna, said to be one of nine companions, reputedly invested a church at Edinburgh, as well as at Dumbarton and other places. Similar names are shared by many other Iron Age hillforts and may have simply described a castle that had never been taken by force or derived from an earlier Brittonic name like mag dun.
An archaeological excavation in the early 1990s uncovered evidence of the site having been settled during the late Bronze Age or early Iron Age, potentially making Castle Rock the longest continuously occupied site in Scotland. However, the extent of the finds was not particularly significant and insufficient to draw any certain conclusions about the precise nature or scale of this earliest known phase of occupation.
The archaeological evidence is more reliable concerning the Iron Age. Traditionally, it had been supposed that the tribes of central Scotland had made little or no use of the Castle Rock. Excavations at nearby Dunsapie Hill, Duddingston, Inveresk and Traprain Law had revealed relatively large settlements and it was supposed that these sites had been chosen in preference to the Castle Rock. However, the excavation in the 1990s pointed to the probable existence of an enclosed hillfort on the rock, although only the fringes of the site were excavated. House fragments revealed were similar to Iron Age dwellings previously found in Northumbria.
The 1990s dig revealed clear signs of habitation from the 1st and 2nd centuries AD, consistent with Ptolemy's reference to "Alauna". Signs of occupation included some Roman material, including pottery, bronzes and brooches, implying a possible trading relationship between the Votadini and the Romans beginning with Agricola's northern campaign in AD 82, and continuing through to the establishment of the Antonine Wall around AD 140. The nature of the settlement in this period is inconclusive, but Driscoll and Yeoman suggest it may have been a broch, similar to the one at Edin's Hall near Duns in the Scottish Borders.

Early Middle Ages

The castle does not re-appear in contemporary historical records from the time of Ptolemy until around AD 600. Then, in the epic Welsh poem Y Gododdin there is a reference to Din Eidyn, "the stronghold of Eidyn". This has been generally assumed to refer to the Castle Rock. The poem tells of the Gododdin King Mynyddog Mwynfawr, and his band of warriors, who, after a year of feasting in their fortress, set out to do battle with the Angles at "Catreath" in Yorkshire. Despite performing glorious deeds of valour and bravery, the poem relates that the Gododdin were massacred.
The Irish annals record that in 638, after the events related in Y Gododdin, "Etin" was besieged by the Angles under Oswald of Northumbria, and the Gododdin were defeated. The territory around Edinburgh then became part of the Kingdom of Northumbria, which was itself absorbed by England in the 10th century. Lothian became part of Scotland, during the reign of Indulf.
The archaeological evidence for the period in question is based entirely on the analysis of middens, with no evidence of structures. Few conclusions can therefore be derived about the status of the settlement during this period, although the midden deposits show no clear break since Roman times.

High Middle Ages

The first documentary reference to a castle at Edinburgh is John of Fordun's account of the death of King Malcolm III. Fordun describes his widow, the future Saint Margaret, as residing at the "Castle of Maidens" when she is brought news of his death in November 1093. Fordun's account goes on to relate how Margaret died of grief within days, and how Malcolm's brother Donald Bane laid siege to the castle. However, Fordun's chronicle was not written until the later 14th century, and the near-contemporary account of the life of St Margaret by Bishop Turgot makes no mention of a castle. During the reigns of Malcolm III and his sons, Edinburgh Castle became one of the most significant royal centres in Scotland. Malcolm's son King Edgar died here in 1107.
Malcolm's youngest son, King David I, developed Edinburgh as a seat of royal power principally through his administrative reforms. Between 1139 and 1150, David held an assembly of nobles and churchmen, a precursor to the parliament of Scotland, at the castle. Any buildings or defences would probably have been of timber, although two stone buildings are documented as having existed in the 12th century. Of these, St. Margaret's Chapel remains at the summit of the rock. The second was a church, dedicated to St. Mary, which stood on the site of the Scottish National War Memorial. Given that the southern part of the Upper Ward was not suited to be built upon until the construction of the vaults in the 15th century, it seems probable that any earlier buildings would have been located towards the northern part of the rock; that is around the area where St. Margaret's Chapel stands. This has been suggested that the chapel is the last remnant of a square, stone keep, which would have formed the bulk of the 12th-century fortification. The structure may have been similar to the keep of Carlisle Castle, which David I began after 1135.
David's successor King Malcolm IV reportedly stayed at Edinburgh more than at any other location. But in 1174, King William "the Lion" was captured by the English at the Battle of Alnwick. He was forced to sign the Treaty of Falaise to secure his release, in return for surrendering Edinburgh Castle, along with the castles of Berwick, Roxburgh and Stirling, to the English King, Henry II. The castle was occupied by the English for twelve years, until 1186, when it was returned to William as the dowry of his English bride, Ermengarde de Beaumont, who had been chosen for him by King Henry. By the end of the 12th century, Edinburgh Castle was established as the main repository of Scotland's official state papers.