Auld Alliance
Dunfermline had become a burgh between 1124 and 1127, if not before this time. Dunfermline Palace was also connected to the abbey and the first known documentation of the Auld Alliance was signed there on 23 October 1295.