text: The capital of the Gododdin was Din Eidyn ( the Fort of Eidyn , almost certainly the Castle Rock ) , whose name lives on in the Edin- of Edinburgh .
  
  ###
  
  Edinburgh derived its name from Din Eidyn , the capital of the Gododdin .