Edinburgh Castle is steeped in a number of legends. One of the myths is that students could fail their exams if they don’t stay away from the premises.
Different iterations of Edinburgh Castle have existed over the course of history, but it officially became a medieval stronghold in the 14th century when it was occupied by King Malcolm II and his wife, Queen Margeret.
After that, it was David I who expanded on the castle architecture and commissioned some of the formidable structures in the castle complex that we see today.
Edinburgh survived several sieges and damage during the Scottish Wars of Independence as well. It was captured by Edward I (following a 3-day siege), after which it kept shifting hands in a tug of war between the English and the Scots until the 14th century.