Robert The Bruce , whose body lies in Dunfermline Abbey , but heart is at Melrose Abbey in Roxburghshire . He wished his heart to rest at Jerusalem in the church of the Holy Sepulchre , and on his deathbed entrusted the fulfilment of his wish to James Douglas (the Black) . The latter broke his journey to join the Spaniards in their war with the Moorish Kings of Granada , and was killed in battle. He had kept the heart of Bruce enclosed in a silver casket hanging round his neck. The heart was subsequently recovered and buried in the Abbey.