The castle was built by King Edward the 1st during his conquest of Wales. The castle served as the de facto capital of an independent Wales between 1404 and 1409 when it was held by
Owain Glyndwr. The later seven-year siege of the castle, during th
e Wars of the Roses, has been memorialised in the famous song "
Men of Harlech".