Most of the buildings of the castle date from the fifteenth and sixteenth centuries. A few structures of the fourteenth century remain, while the outer defences fronting the town date from the early eighteenth century. Several Scottish kings and queens have been crowned at Stirling, including Mary, Queen of Scots, in 1542. There have been at least eight sieges of Stirling Castle, including several during the Wars of Scottish Independence. The last siege was in 1746, when Bonnie Prince Charlie failed to take the castle. Stirling Castle is a scheduled Ancient Monument, and is a tourist attraction managed by Historic Scotland.