Dunfermline signifies in Gaelic, the fort by the crooked rivulet; the fort refers to the building called Malcolm Canmore's tower that was placed on the peninsular mount in Pittencrieff glen. Dun signifies either a hill or a fort, because the strongholds were generally built on eminences. Fiar means crooked or winding, and loin or lyn, a pool and running water. In later times dun in Gaelic, and tun in Anglo-saxon, came to signify a dwelling, a steading, a village, a town. From this tower, Dunfermline, as a town, dates its origin, and derived its existence; hence the arms of the Town are a tower supported by two lions, with the motto, "Esto rupes inaccessa"; 'be thou an inaccessible rock,' alluding to the rocky precipice on which the tower was erected.
Dunfermline City and Royal Burgh is one of the hidden jewels among places of interest in Scotland. Its history goes back over a thousand years with the residence of the Kings of Scotland and the history of the Church.