Wrexham is situated between the Welsh mountains and the lower Dee Valley alongside the border with England.Historically part of Denbighshire, the town became part of Clwyd in 1974 and since 1996 has been the centre of the Wrexham County Borough.The main part of the current church was built in the late 15th and early 16th centuries.The Acts of Union passed during the reign of Henry VIII brought the lordship into the full system of English administration and law.The Anglo-Saxons went on to dominate north-east Wales from the 8th to 10th centuries and the settlement of Wrexham was likely founded by Mercian colonists on the flat ground above the meadows of the River Gwenfro during the 8th century.The origins of the name "Wrexham" may possibly be traced back to this period.The 1620 Norden's jury of survey of Wrexham Regis stated that four-fifths of the land-holding classes of Wrexham bore Welsh names and every field except one within the manor bore a Welsh or semi-Welsh name. Turner also visited the town and painted a watercolour of a street scene entitled "Wrexham, Denbighshire" dated 1792–3. Wrexham benefited from good underground water supplies which were essential to the brewing of beer: by the mid 19th century, there were 19 breweries in and around the town.
The economic character remained predominantly agricultural into the 17th century but there were workshops of weavers, smiths, nailers as well as dye houses.
Wilkinson's steam engines enabled a peak of production 18th century literary visitors included Samuel Johnson, who described Wrexham as "a busy, extensive and well-built town", and Daniel Defoe who noted the role of Wrexham as a "great market for Welch flannel". In addition to brewing, tanning became one of Wrexham's main industries.
In the mid 19th century Wrexham was granted borough status.
At the 2011 Census, Wrexham had a population of 61,603, the fourth largest urban area in Wales.
By the end of the 6th century AD, the area was being contested between the Celtic-speaking inhabitants and the English-speaking invaders advancing from the east.