Early history Castle Hill, on which Stirling Castle is built, forms part of the
Stirling Sill, a formation of
quartz-dolerite around 350 million years old, which was subsequently modified by
glaciation to form a "
crag and tail". It is likely that this natural feature was occupied at an early date, as a
hill fort is located on Gowan Hill, immediately to the east. The
Romans bypassed Stirling, building a fort at
Doune instead, but the rock may have been occupied by the
Maeatae at this time. It may later have been a stronghold of the
Manaw Gododdin, and has also been identified with a settlement recorded in the 7th and 8th centuries as
Urbs Iudeu, where King
Penda of Mercia besieged King
Oswy of
Bernicia in 655. Other legends have been associated with Stirling, or "Snowdoun" as it was more poetically known. The 16th-century historian
Hector Boece claims in his
Historia Gentis Scotorum that the Romans, under
Agricola, fortified Stirling, and that
Kenneth MacAlpin, traditionally the first King of Scotland, besieged a castle at Stirling during his takeover of the Pictish kingdom in the 9th century. although it is now thought that the legend of Monenna results from a later confusion of early Christian figures, including
Modwenna and
Moninne. The first record of Stirling Castle dates from around 1110, when King
Alexander I dedicated a chapel there. It appears to have been an established royal centre by this time, as Alexander died here in 1124. During the reign of his successor
David I, Stirling became a
royal burgh, and the castle an important administration centre. King
William I formed a
deer park to the south-west of the castle, but after his capture by the English in 1174, he was forced to surrender several castles, including Stirling and Edinburgh Castle, under the
Treaty of Falaise. There is no evidence that the English actually occupied the castle, and it was formally handed back by
Richard I of England in 1189. Stirling continued to be a favoured royal residence, with William himself dying there in 1214, and
Alexander III laying out the New Park, for deer hunting, in the 1260s.
Wars of Independence on the castle esplanade Stirling remained a centre of royal administration until the death of Alexander III in 1286. His passing triggered a succession crisis, with
Edward I of England invited to arbitrate between competing claimants. Edward came north in 1291, demanding that Stirling, along with the other royal castles, be put under his control during the arbitration. Edward gave judgement in favour of
John Balliol, hoping he would be a "puppet" ruler, but John refused to obey Edward's demands. In 1296, Edward invaded Scotland, beginning the
Wars of Scottish Independence, which would last for the next 60 years. The English found Stirling Castle abandoned and empty, and set about occupying this key site. They were dislodged the following year, after the victory of
Andrew Moray and
William Wallace at the
Battle of Stirling Bridge. Many of the garrison were killed during the battle, after which the English commanders
William FitzWarin and
Marmaduke Thweng retreated into the castle. However, they were quickly starved into surrender by the Scots. Next summer, the castle changed hands again, being abandoned by the Scots after the English victory at
Falkirk. Edward strengthened the castle, but it was besieged in 1299 by forces including
Robert Bruce. King Edward failed to relieve the garrison, who were forced to surrender. Although Edward's victory seemed complete, he was dead by 1307, and
Robert Bruce was now
King of Scots. By 1313, only Stirling,
Roxburgh,
Edinburgh and
Berwick castles were held by the English.
Edward Bruce, the king's brother, laid siege to Stirling, which was held by Sir
Philip Mowbray. After several months, on 24 June 1313, Mowbray proposed a bargain: that he would surrender the castle, if it were not relieved within one year by the English. Edward Bruce agreed, and withdrew. Scottish historian
Patrick Fraser Tytler would describe Mowbray's offer, five centuries later, as "a truce involving conditions which ought on no account to have been accepted." As Tytler noted, the effect "was to check the ardour of the Scots in that career of success, which was now rapidly leading to the complete deliverance of their country; it gave the King of England a whole year to assemble the strength of his dominions... We need not wonder, then, that Bruce was highly incensed, on hearing that, without consulting him, his brother had agreed to Mowbray's proposals." The following summer, the English duly headed north, led by
Edward II, to save the castle. On 23 June 1314, King Robert's forces met the English at the
Battle of Bannockburn, within sight of the castle walls. The resulting English defeat was decisive. King Edward attempted to take refuge in the castle, but Mowbray was determined to keep to his word, and the English were forced to flee. Mowbray handed over the castle, changing sides himself in the process. King Robert ordered the castle to be
slighted; its defences destroyed to prevent reoccupation by the English. Andrew Murray attempted a siege in 1337, when guns may have been used for one of the first times in Scotland. In 1360, Robert de
Forsyth was appointed governor of Stirling Castle, an office he passed on to his son John and grandson William, who was governor in 1399.
Early Stuarts Under the early Stewart kings
Robert II (reigned 1371–1390) and
Robert III (reigned 1390–1406), the earliest surviving parts of the castle were built.
Robert Stewart, Earl of Menteith, Regent of Scotland as brother of Robert III, undertook works on the north and south gates. The present north gate is built on these foundations of the 1380s, the earliest surviving masonry in the castle. In 1424, Stirling Castle was part of the
jointure (marriage settlement) given to
James I's wife
Joan Beaufort, establishing a tradition which later monarchs continued. After James' murder in 1437, Joan took shelter here with her son, the young
James II. He hosted a tournament at Stirling on
Shrove Tuesday 1449, which included a combat between two teams of three, led by the Burgundian knight
Jacques de Lalaing and James Douglas, a brother of the
Earl of Douglas. The Burgundian knights were the victors. In 1452, it was at Stirling Castle that James stabbed and killed
William, 8th Earl of Douglas, when the latter refused to end a potentially treasonous alliance with
John of Islay, Earl of Ross and
Alexander Lindsay, 4th Earl of Crawford.
James III (reigned 1460–1488) was born here, and later undertook works to the gardens and the chapel royal. The manufacture of
artillery in the castle is recorded in 1475. James' wife,
Margaret of Denmark, died in Stirling Castle in 1486, and two years later James himself died at the
Battle of Sauchieburn, fought over almost the same ground as the Battle of Bannockburn, just to the south of the castle.
Renaissance palace , builder of the Royal Palace, by
Corneille de Lyon Almost all the present buildings in the castle were constructed between 1490 and 1600, when Stirling was developed as a principal royal centre by the
Stewart kings
James IV,
James V and
James VI. The architecture of these new buildings shows an eclectic mix of English, French and German influences, reflecting the international ambitions of the
Stewart dynasty. James IV (reigned 1488–1513) kept a full Renaissance court, including
artists and
alchemists.
Perkin Warbeck was a guest at Stirling in November 1495. James IV sought to establish a palace of European standing at Stirling. He undertook building works at the royal residences of Edinburgh,
Falkland and
Linlithgow, but the grandest works were at Stirling, and include the King's Old Building, the Great Hall, and the Forework. He also renovated the chapel royal, one of two churches within the castle at this time, and in 1501 received approval from
Pope Alexander VI for the establishment of a
college of priests. The Forework, of which little now remains, was derived from French military architecture, although military details were added more for style than for defence. A new
portcullis was painted with
red lead and linseed oil. The gardener, George Campbell, built archery butts next to the stables in 1504. James IV played tennis at Stirling with the Spanish ambassador,
Pedro de Ayala. If a satirical account in two poems by the poet
William Dunbar is based on facts, the castle walls may have been the site of an attempt at
human-powered flight, c.1509, by the Italian alchemist and abbot of
Tongland,
John Damian. The Captain of the Castle
Andrew Aytoun kept an alchemist called Caldwell maintaining a furnace for "quinta essencia", the mythical
fifth element, at the castle. The building works begun by James IV had not been completed at the time of his death at the
Battle of Flodden. His successor, James V (reigned 1513–1542), was crowned in the chapel royal, and grew up in the castle under the guardianship of
Lord Erskine. In 1515, the
Regent Albany brought 7,000 men to Stirling to wrest control of the young king from his mother,
Margaret Tudor. James V as monarch was said to have travelled in disguise under the name "Gudeman of Ballengeich", after the road running under the eastern wall of the castle. Ballengeich means "windy pass" in
Gaelic. In 1533 a priest James Nicholson was in charge of the building fabric, and he also fed cranes, herons, peacocks, and bitterns for the king's table. James V continued and expanded his father's building programme, creating the centrepiece of the castle, the Royal Palace, built under the direction of
Sir James Hamilton of Finnart and masons brought from France. James V died in 1542, leaving unfinished work to be completed by his widow,
Mary of Guise. His infant daughter,
Mary, Queen of Scots, was brought to Stirling Castle for safety in July 1543 and
crowned in the chapel royal on 9 September 1543. There was war with England, now known as the
Rough Wooing. Mary was brought up at Stirling Castle, until she was sent to
Inchmahome Priory, and then to France in 1548. Artillery fortifications were added to the south approach of the castle including the 'French Spur', and these form the basis of the present Outer Defences. Guise employed an Italian military engineer called Lorenzo Pomarelli. From 1534 to 1584
Michael Gardiner was in charge of the artillery. Queen Mary returned to Scotland in 1561, and visited Stirling Castle frequently. She nursed
Henry Stuart, Lord Darnley, through an illness here in 1565, and the two were soon married. Their son,
James VI, was
baptised here in December 1566. The celebrations included fireworks, an assault on a mock castle, and a
masque designed by
Bastian Pagez. Darnley was already estranged from the Queen and did not attend although he was resident at the castle. James' guardian, the
Earl of Mar, was made hereditary governor of the castle in 1566. When Mary escaped from
Lochleven Castle in May 1568, the Earl of Mar was ordered step up security at Stirling around the king and expel from the castle all but his closest friends and relatives. The young King James was crowned in July 1567 in the nearby
Church of the Holy Rude, and grew up within the castle walls in the care of
Annabell Murray, Countess of Mar and under the tutelage of the humanist scholar
George Buchanan. A tennis court was built of timber for the king in 1576. Frequently used as a pawn in the struggles between his regents and the supporters of Mary, the young king was closely guarded. Stirling became the base for James' supporters, while those nobles who wished to see Queen Mary restored gathered at Edinburgh, under
William Kirkcaldy of Grange. Grange led a raid on Stirling in 1571, attempting to round up the Queen's enemies, but failed to gain control of the castle or the King. The keeper of the Castle,
Alexander Erskine of Gogar was ejected by supporters of
Regent Morton in April 1578, after his son was fatally wounded during a struggle at the gate. The rebellious Earls of Mar and
Angus seized the castle in April 1584, but surrendered and fled to England when
Colonel Stewart arrived with an army. When they returned in the following year, the royal favourite
James Stewart, Earl of Arran fled to a boat on the
Forth via the castle's northern
sally port. James VI surrendered on 4 November, although they proclaimed their loyalty to him. In December 1593,
Anne of Denmark decided to come to Stirling for the birth of her first child, and James ordered the palace which was in "ruin and decay" to be repaired.
Prince Henry was born in the castle in 1594, and the present Chapel Royal was constructed for his
baptism on 30 August. Probably built by
William Schaw, the chapel completed the quadrangle of the Inner Close. Like his predecessors Henry spent his childhood here under the
2nd Earl of Mar, until the
Union of the Crowns of 1603, when his father succeeded as King of England and the royal family left for London.
Military fortress After their departure, Stirling's role as a royal residence declined, and it became principally a military centre. It was used as a prison for persons of rank during the 17th century, and saw few visits by the monarch. The architect
James Murray restored roofs and facilities of the castle for the return of James VI & I to Scotland, who stayed in Stirling during July 1617. From 1625, extensive preparations were made for the anticipated visit of the new king,
Charles I, including works to the gardens and painting of the Chapel Royal. Charles did not come to Scotland until 1633, and only stayed in the castle briefly. Following the execution of Charles I, the Scots crowned his son
Charles II, and he became the last reigning monarch to stay here, living at the castle in 1650. The Royalist forces were defeated at
Dunbar by those of
Oliver Cromwell, and the King marched south to defeat at
Worcester.
General Monck laid siege to the castle on 6 August 1651, erecting gun platforms in the adjacent churchyard. After the garrison
mutinied, Colonel William Conyngham was obliged to surrender on 14 August. Damage done during the siege can still be seen on the church and the Great Hall. in 1693, and showing James IV's now-demolished Forework After
The Restoration of Charles II, the Earl of Mar was restored as governor, and the castle was frequently used as a prison, housing several
Covenanters. From 1800 the Castle was owned by the
War Office and run as a
barracks. Many alterations were made to the Great Hall, which became an accommodation block, to the Chapel Royal, which became a lecture theatre and dining hall, to the King's Old Building, which became an infirmary and to the Royal Palace, which became the Officer's Mess. A number of new buildings were also constructed, including the prison and powder magazine, at the Nether Bailey, in 1810.
Queen Victoria visited in 1842, and the
Prince of Wales in 1859. In 1873 a system of recruiting areas based on counties was instituted under the
Cardwell Reforms and the barracks became the
depot for the
72nd (Highland) Regiment of Foot and the
91st (Argyllshire Highlanders) Regiment of Foot. Following the
Childers Reforms, the 91st (Argyllshire Highlanders) Regiment of Foot and the
93rd (Sutherland Highlanders) Regiment of Foot amalgamated to form the
Argyll and Sutherland Highlanders with its depot in the barracks in 1881.
Twentieth century The Royal Lodgings have now been returned to something approaching their former glory. A major programme of research and re-presentation, lasting ten years and costing £12 million, was completed in summer 2011. Since January 2002, the Tapestry Studio at
West Dean College near
Chichester in
West Sussex has been working on a recreation of
The Hunt of the Unicorn tapestries, four of which are now hanging in the restored Queen's Presence Chamber in the Royal Palace. Historians studying the reign of James V believe that a similar series of Unicorn tapestries were part of the
royal collection. The team of weavers visited
The Cloisters, part of the
Metropolitan Museum of Art,
New York City, to inspect the 15th-century originals, and researched medieval weaving techniques, colour palettes and materials. The weavers worked both at the college in
West Sussex, and at a studio at Stirling Castle. The project was completed in 2015. Stirling Castle remains the headquarters of the
Argyll and Sutherland Highlanders, although Balaclava Company, the sole surviving unit of the regiment, has been garrisoned at
Redford Barracks in Edinburgh since 2014. The
regimental museum is also located within the castle. == Structures and grounds ==