Devizes Castle was built by
Osmund,
Bishop of Salisbury, in 1080, but the town is not mentioned in
Domesday Book of 1086. Because the castle was on the boundaries of the
manors of
Rowde,
Bishops Cannings and
Potterne it became known as the
castrum ad divisas ("the castle at the boundaries"), hence the name
Devizes. On
John Speed's map of
Wiltshire (1611), the town's name is recorded as
The Devyses. The first castle on the site was of the
motte and bailey form and was probably made of wood and earth, but this burnt down in 1113. A new castle was built in stone by
Roger of Salisbury, Osmund's successor. Devizes received its first
charter in 1141, permitting regular markets. The castle changed hands several times during
the Anarchy, a civil war between
Stephen of Blois and
Matilda in the 12th century. The castle held important prisoners, including (from 1106)
Robert Curthose, eldest son of
William the Conqueror. The town has had churches since the 12th century and today has four
Church of England parish churches. During the 12th and 13th centuries, the town of Devizes developed outside the castle with craftsmen and traders setting up businesses to serve the residents of the castle. The first known market in Devizes was in 1228. The original market was in the large space outside St Mary's Church, rather than in the current
Market Place, which at that time would have been within the castle's outer bailey. From the 16th century, Devizes became known for its textiles: initially white woollen
broadcloth but later the manufacture of
serge,
drugget,
felt, and cassimere or
Zephyr cloth. In the mid 18th century, Devizes held the largest corn market in the
West Country of England and also traded hops, cattle, horses and various types of cloth. In 1794, a meeting at the
Bear Hotel decided to raise a body of ten independent troops of yeomanry in the county of Wiltshire. These would later be brought together to form the
Royal Wiltshire Yeomanry, the senior yeomanry regiment. In 1810 the county militia, quartered at Devizes, mutinied and the Royal Wiltshire Yeomanry were called out to quell the disturbances. The mutiny came to a head when the two forces faced off against each other with loaded firearms in the Market Square, at which point the militia ringleaders surrendered. The Royal Wiltshire Yeomanry went on to serve at home and abroad, including in the
Boer War, both World Wars, and live on as B (RWY) Squadron and Y (RWY) Squadron of the
Royal Wessex Yeomanry, based in Old Sarum and Swindon respectively. A new
Devizes Prison, or County House of Corrections, was opened in 1817. This replaced the
Bridewell that had been built in Bridewell Street in 1579. The new prison was built of brick and stone, and was designed by
Richard Ingleman as a two-storey
polygon surrounding a central governor's house. It had an operational life of more than ninety years and was closed in 1922. It stood on the north side of the Castle's Old Park, across the
Kennet and Avon Canal by way of a bridge still called Prison Bridge. The House of Corrections was demolished by 1928. The town was a coaching stop for
mail coaches and
stagecoaches on the road from London to
Bristol, as evidenced by the number of
coaching inns in the town. The Kennet and Avon Canal, fully open by 1810, passes close to the centre of the town. The town gained a
railway station in 1857 but the line was closed in 1966. , future home of the
Wiltshire Museum In 1853 the
Wiltshire Archaeological and Natural History Society was founded in the town, and later opened a museum in Long Street. Now called the
Wiltshire Museum, its collections are designated as being of national significance. The museum has extensive
Bronze Age collections and includes finds from the
Stonehenge and Avebury World Heritage Site, including
West Kennet Long Barrow,
Marden Henge and
Bush Barrow. There are plans to move the museum into the grade II* listed former
Devizes Assize Court, northwest of the town centre, where facilities for community events will also be provided. There was a military presence in the town at
Le Marchant Barracks, from 1878 until the 1980s. ==Geography==