Some events cry out for a magnificent venue and few backdrops in the world rival the drama of a great castle.
During the Second World War, the Crown of Scotland was hidden below a medieval latrine closet in David's Tower to prevent the enemy from finding it.
Hundreds of supposed witches were burnt at the stake where the Esplanade is today. Among them was Janet Douglas, Lady Glamis, accused of attempting to kill King James V using witchcraft in 1537.
The Russian secret service demanded the blocking of the 'laird's lug' - a spyhole by the Great Hall fireplace - before a planned visit by future Soviet premier Mikhail Gorbachev.
The Ordnance Survey began life in the Castle in the drawing office of military surveyor William Roy in 1747. His work ultimately led to the setting up of the national mapping organisation
Plans were drawn up in the 1800s to replace the Castle's military buildings with a pretty, fairytale castle, a French-style chateau and a mock medieval keep. All the schemes were ultimately abandoned.
In 1811, 49 French prisoners of war hacked their way through a wall in the Castle and lowered themselves on ropes down the south crag. All but one escaped. You can still see the hole.
A Jacobite force came within metres of capturing the Castle during the Rising of 1715 but the ladder they brought to scale the ramparts turned out to be too short.
It is September 1914 and Britain’s ‘Weekend Warriors’ are on the move.
The Liverpool Scottish have been posted to Edinburgh to defend the...