As Knighton Castle was captured and destroyed by Llywellyn ap Gruffudd in 1262, it seems likely that the second, later castle at Bryn y Castell was undertaken after that and was likely sited on lower ground so as to guard the crossing point of the River Teme. Bryn y Castell, as the one surviving castle in Knighton by then, was besieged by Owain Glyndŵr in 1402 and destroyed along with much of the town. The major battle of the rebellion was fought in the same year at Pilleth (Welsh: Bryn Glas) , south of the town. Though documents pertaining to the defence of Knighton during the Glyndwr rebellion state that Knighton had stout and defensible walls, no historical, archaeological or topographic evidence for a town wall, even of timber, has been found. So it is thought more likely that the statement referred to the castle walls, rather than the town. The town church dates from the 11th century, but much of it was rebuilt in the 19th century. It is one of only two in Wales dedicated to St Edward, patron saint of England before St George was chosen. This English dedication is a symptom of the dual English/Welsh nature of the town, which was not legally resolved until 1535, when Knighton was finally confirmed as part of Wales by the Acts of Union. Knighton also has a Baptist chapel and a small Catholic church. Knighton first prospered as a centre of the wool trade in the 15th century and was later an important point on the two drover routes from Montgomery to Hereford, and from London to Aberystwyth. Otherwise, Knighton was remote from centres of commerce. It seemed likely that the railways would also fail to reach the town; the 1840s and 1850s saw rapid railway building right across Great Britain, but Radnorshire had a small population and little industry. Construction of a railway was made economically just viable by an entrepreneurial drive to connect the Mumbles and Milford Haven with the cities and factories of the industrial Midlands. The Knighton Railway Company was formed by local landowners and businessmen to build a line from Craven Arms to the town. Work began in August 1858 and the line reached Knighton in March 1861. The station itself ensued in 1865. To mark the accession of H. M. Queen Elizabeth II in 1953, the initials "ER" were planted in deciduous trees in an evergreen forest on a hill to the north of the town.