The Scottish fortress built high upon a plug of an extinct volcano dates back to the 9th century. Edinburgh Castle has been there since the 12th century. Although it appears impregnable, in 800 years, the castle has taken part in numerous historic conflicts and wars, having been besieged both successfully and unsuccessfully many times. Deep in the bowels of Edinburgh Castle, dark and damp dungeons lie hidden away that had been used for imprisonment and torture over the centuries. Additionally there was construction of the vaults in the fifteenth century, but now that underground labyrinth of tunnels with 120 rooms are in an area known as Crown Square. At one point in history, the vaults were used to quarantine and eventually entomb victims of the plague. Archaeological evidence points back to the Iron Age, so Castle Rock and Edinburgh may very well be the longest continually occupied site in Scotland.