Brecon (; ; ), archaically known as Brecknock, is a market town in Powys, mid Wales. In 1841, it had a population of 5,701. The population in 2001 was 7,901, increasing to 8,250 at the 2011 census. Historically it was the county town of Brecknockshire (Breconshire); although its role as such was eclipsed with the formation of the County of Powys, it remains an important local centre. Brecon is the third-largest town in Powys, after Newtown and Ystradgynlais. It lies north of the Brecon Beacons mountain range, but is just within the Brecon Beacons National Park. History Early history The Welsh name, Aberhonddu, means "mouth of the Honddu". It is derived from the River Honddu, which meets the River Usk near the town centre, a short distance away from the River Tarell which enters the Usk a few hundred metres upstream. After the Dark Ages the original Welsh name of the kingdom in whose territory Brecon stands was (in modern orthography) "Brycheiniog", which was later anglicised to Brecknock or Brecon, and probably derives from Brychan, the eponymous founder of the kingdom. Before the building of the bridge over the Usk, Brecon was one of the few places where the river could be forded. In Roman Britain Y Gaer (Cicucium) was established as a Roman cavalry base for the conquest of Roman Wales and Brecon was first established as a military base. Norman control The confluence of the River Honddu and the River Usk made for a valuable defensive position for the Norman castle which overlooks the town, built by Bernard de Neufmarche in the late 11th century. Gerald of Wales came and made some speeches in 1188 to recruit men to go to the Crusades. Town walls Brecon's town walls were constructed by Humphrey de Bohun after 1240. The walls were built of cobble, with four gatehouses and was protected by ten semi-circular bastions. In 1400 the Welsh prince Owain Glyndŵr rose in rebellion against English rule, and in response in 1404 100 marks was spent by the royal government improving the fortifications to protect Brecon in the event of a Welsh attack. Brecon's walls were largely destroyed during the English Civil War. Today only fragments survive, including some earthworks and parts of one of the gatehouses; these are protected as scheduled monuments. In Shakespeare's play King Richard III, the Duke of Buckingham is suspected of supporting the Welsh pretender