Appleby-in-Westmorland is a market town and civil parish in the Eden area, in the administrative area of Cumbria, in North West England. The church had a population of 3,048 in 2011. It hinges on a loophole of the River Eden in the historic area of Westmorland, of which it was the county town. Its name was just Appleby until the city government changes of 1974. When a successor parish was developed from the previous borough, the council changed its name to tape-record that of the historic area. Appleby is 13.7 mi (22 km) south eastern of Penrith, 32.2 mi (52 kilometres) south eastern of Carlisle, 27.2 mi (44 kilometres) north east of Kendal, 45.2 mi (73 km) west of Darlington, and also 61.2 mi (98 km) west of Middlesbrough. Appleby is overlooked by the privately possessed Appleby Castle, a largely Norman structure that functioned as home for Lady Anne Clifford in the 17th century. Appleby's major market is tourist, due to its history, remote location, landscapes as well as distance to the Lake District, the North Pennines, Swaledale and Howgill Fells. From 1973, Appleby Castle was the headquarters of Ferguson Industrial Holdings Plc. WA Developments Limited, currently Stobart Rail Limited, was long based in Appleby as a civil design firm founded by Andrew Tinkler as well as William Stobart and also being experts in railway upkeep.