Edinburgh Castle, one of the most iconic landmarks in Scotland, is famously built upon an extinct volcano known as Castle Rock. This volcanic plug formed approximately 350 million years ago during the Carboniferous period. The rock’s sheer, steep cliffs on three sides provided a natural defensive advantage, making it an ideal location for a fortress as far back as the Iron Age. Over centuries, the castle evolved into a royal residence and a military stronghold. Interestingly, Stirling Castle—another of Scotland's grandest fortresses—is also built on a similar volcanic formation called a "sill." These volcanic foundations are a major reason why these castles have survived so many sieges; their elevated positions made them nearly impossible to attack from below, and the hard basalt rock provided a stable base that could support massive stone walls and heavy cannons.