Lacock is mentioned in the Domesday Book, with a population of 160–190; with two mills and a vineyard. Lacock Abbey was founded on the manorial lands by Ela, Countess of Salisbury and established in 1232; and the village – with the manor – formed its endowment to "God and St Mary". Lacock was granted a market and developed a thriving woollen industry during the Middle Ages.