Dolwyddelan castle guarded one of the main routes through the mountains of Snowdonia. It consists of a rectangular keep and a small D-shaped courtyard that contains another rectangular tower and was most probably built by Llwelyn the Great early in the 13th century.