Dunfermline (dŭnförmˈlĭn, dŭm–) [key], city (1991 pop. 52,105), Fife, E central Scotland, on the Firth of Forth. It is a center for the manufacture of table linen and terylene, a synthetic fabric, and has silk mills, collieries, and engineering works. The naval base of Rosyth became part of the city in 1911. Dunfermline abbey, founded by Malcolm III of Scotland in the 11th cent., holds his remains and those of his wife, St. Margaret, and of Robert I. The palace was a favorite seat of Scottish kings and was the birthplace of Charles I of England. Andrew Carnegie, the industrialist, was born in Dunfermline, which is now the headquarters of the Carnegie Trusts. Carnegie gave the town its library and Pittencrieff Glen, a 60-acre (24-hectare) public park.