Shaftesbury is a community and civil parish in Dorset, England. It is situated on the A30 road, 20 miles (32 kilometres) west of Salisbury, near to the border with Wiltshire. It is the only substantial hilltop settlement in Dorset, being built concerning 215 metres (705 ft) above sea level on a greensand hillside on the edge of Cranborne Chase. The community evaluates the Blackmore Vale, part of the River Stour container. From different viewpoints, it is feasible to see at least regarding Glastonbury Tor to the northwest. Shaftesbury is the site of the previous Shaftesbury Abbey, which was founded in 888 by King Alfred and turned into one of the wealthiest religious establishments in the country, prior to being destroyed in the Dissolution in 1539. Adjacent to the abbey website is Gold Hill, a high cobbled street made use of in the 1970s as the setting for Ridley Scott's television ad for Hovis bread. In the 2011 census the town's civil parish had a population of 7,314.