Kingdom of Scotland — historic sovereign kingdom on the British Isles from the 9th century and up to 1707