Question: How did James III of Scotland acquire the town of Kirkwall?
Sentence (from "James III of Scotland"): However, it was through his marriage to Margaret of Denmark that the Orkney and Shetland islands became Scottish.
Relevant evidence: Yes