 These anachronistic details don't bear much connection to the Shirvanshahs, but they do hint at how the buildings have managed to survive the political vicissitudes brought on by history.In the courtyard can be seen some of the carved stones from the friezes that were brought up from the ruined Sabayil fortress that lies submerged underwater off Baku's shore.The stones have carved writing that records the genealogy of the Shirvanshahs.