Devizes is a market community and civil parish in the centre of Wiltshire, England. It established around Devizes Castle, an 11th-century Norman castle, as well as got a charter in 1141 allowing normal markets, which are held weekly in an open market place. The castle was besieged during the Anarchy, a 12th-century civil war between Stephen of England and also Empress Matilda, and also again throughout the English Civil War when the Cavaliers (Royalists) raised the siege during the Fight of Roundway Down. Devizes stayed under Royalist control till 1645, when Oliver Cromwell attacked and forced the Royalists to surrender. The castle was ruined in 1648 like Parliament, and today little remains of it. From the 16th century Devizes became recognized for its fabrics, and also by the early 18th century it held the largest corn market in the West Country, constructing the Corn Exchange in 1857. In the 18th century, developing, healing of tobacco, and snuff-making were established. The Wadworth Brewery was founded in the community in 1875. Standing at the west side of the Vale of Pewsey, the town is about 10.5 miles (16.9 kilometres) southeast of Chippenham as well as 11 miles (18 kilometres) east-north-east of the county town of Trowbridge. It has virtually five hundred noted buildings, some remarkable churches, a town hall and an environment-friendly in the centre of the town.