Answer
Edinburgh Castle was the site of Saint Margaret of Scotland's passing. She was a Hungarian princess who became the Queen of Scotland through her marriage to King Malcolm III. Margaret was renowned for her piety and charity, and she played a significant role in the religious and cultural development of Scotland. She died in 1093 at Edinburgh Castle, and her remains were interred in Dunfermline Abbey.