Harlech Castle is a medieval castle located in Harlech, in the Welsh county of Gwynedd. The castle was built during the 13th century by the English king, Edward I, as part of an ‘iron ring’ of castles aimed at the subjugation of Gwynedd. As a defensive structure, Harlech Castle played an important role in the region’s history in the centuries following its construction. By the 17th century, however, Harlech Castle lost its military function, and fell out of use. Nevertheless, it received a new lease of life in subsequent centuries, as it began to attract tourists. Today, Harlech Castle is a tourist destination, and is recognized as a UNESCO World Heritage Site, as part of the ‘Castles and Town Walls of King Edward in Gwynedd’.