Castle Cary is a small market town and civil church in south Somerset, England, 5 miles (8 km) north west of Wincanton and also 8 miles (12.9 km) south of Shepton Mallet, at the foot of Lodge Hill as well as on the River Cary, a tributary of the Parrett. The Town Council has duty for regional problems, consisting of establishing an annual principle (local rate) to cover the council's operating expense and also producing annual accounts for public scrutiny. The Town Council evaluates local planning applications as well as works with the local police, area council police officers, and also neighbourhood watch teams on matters of crime, security, as well as website traffic. The Town Council's duty also consists of initiating tasks for the repair and maintenance of town facilities, as well as seeking advice from the district council on the maintenance, repair service, and enhancement of highways, drain, footpaths, public transport, and also road cleansing. Conservation issues (including trees and noted structures) and also environmental problems are the duty of the area council. The town falls within the Non-metropolitan area of South Somerset, which was formed on 1 April 1974 under the Local Government Act 1972, having previously been part of Wincanton Rural District. The district council is responsible for neighborhood planning and also building control, local roads, council housing, ecological health and wellness, markets and fairs, decline collection and also recycling, burial grounds and crematoria, recreation solutions, parks, and tourism. Somerset County Council is accountable for running the biggest and most pricey neighborhood services such as education, social solutions, libraries, main roads, public transportation, policing as well as fire solutions, trading requirements, waste disposal and tactical planning. The town is in the Cary selecting ward. This extends south to the North Cadbury church, and also southern west to Babcary. The population of the ward at the 2011 census was 5,502.