It served briefly as the capital of Powys Wenwynwyn after its prince was forced to flee the traditional Welsh royal site at Mathrafal in 1212, by the prince of Gwynedd. Assistance from the English crown (the enemies of the Gwynedd prince) restored the Wenwynwyn dynasty to their lands.