Castell Dinas Brân is a medieval castle occupying a prominent hilltop site above the town of Llangollen in Denbighshire, Wales. The presently visible castle was probably built in the 1260s by Gruffydd Maelor II, a Prince of Powys Fadog, on the site of several earlier structures, including an Iron Age hillfort.
Dinas Brân has been variously translated as the "crow's fortress" or "fortress of Bran", with Bran as the name of an individual or of a nearby stream. An English name, "Crow Castle", has also been used since at least the 18th century.
The first building placed at Dinas Brân was not the castle which now stands in ruins on top of the mountain but an Iron Age hillfort built around 600 BC. An earthen rampart was constructed probably topped by a wooden palisade and this was further protected by a deep ditch on the shallower southern slope. The walls of the hillfort encircled a village of roundhouses. Dinas Brân is one of many hillforts in this part of Wales; Moel y Gaer is just a couple of miles to the north-west near the Horseshoe Pass, and another is close by at Y Gardden in Ruabon to the east. There are many others on the Clwydian Hills further to the north and in the Marches to the south.(Kightly, 2003)
Dinas Brân is in what was once the ancient Kingdom of Powys. The last Prince of Powys Gruffydd Maelor died in 1191 and the kingdom was divided into Powys Fadog in the north and Powys Wenwynwyn in the south. His son, Madog ap Gruffydd Maelor was lord of Powys Fadog and founded the nearby Valle Crucis Abbey. Although no archaeological evidence has been found some records suggest he ruled from Dinas Brân. If a structure did exist it would have been a wooden fortification probably consisting of a wooden palisade surrounding a hall and other buildings. These early records further say it was destroyed by fire and then the new castle was built on the same site, therefore little prospect for finding any archaeological evidence of the early building remains. An even earlier structure has been suggested, belonging to Elisedd ap Gwylog from the 8th century (Ried, 1973). It was this Elisedd who is named on the Pillar of Eliseg and is one of the founders of the kingdom of Powys, but again no physical evidence for any structure at Dinas Brân has been found.(Kightly, 2003)