Dunfermline Abbey was founded as a Benedictine priory around 1070 by Margaret, wife of Malcolm III, king of Scots, and made an abbey in 1128; Malcolm and Margaret were both buried there, as were most of their successors down to the early fourteenth century.