Dunfermline is a city in the Scottish Council Areas Fife with 49,706 inhabitants. The city is one of the historic capitals of Scotland. In 1975, the county of the same name was established, which is one of Fife since 1996th The town's name derives from the Gaelic Dùn Phàrlain that translates either means "Fort of Partholon" or "Fort of the curved Glen". There is a hero named Partholan, which is also referred to as "the Celtic Atlas", but the origin is uncertain. From this expression also the surname "MacFarlane" derives.