Castle, excavations