King Malcolm III of Scotland married Edgar's sister Margaret, and came into opposition to William who had already disputed Scotland's southern borders.
Who was Margaret's husband?
King Malcolm III of Scotland