List of Scottish monarchs
The Kingdom of the Picts just became known as Kingdom of Alba in Gaelic, which later became known in Scots and English as "Scotland"; the terms are retained in both languages to this day. By the late 11th century at the very latest, Scottish kings were using the term "rex Scottorum", or King of Scots, to refer to themselves in Latin. The Kingdom of Scotland was merged with the Kingdom of England to form a single Kingdom of Great Britain in 1707. Thus Queen Anne became the last monarch of the ancient kingdoms of Scotland and England and the first of Great Britain, although the kingdoms had shared a monarch since 1603 (see Union of the Crowns). Her uncle Charles II was the last monarch to be crowned in Scotland, at Scone in 1651. He had a second coronation in England ten years later.
List of Scottish monarchs
The last King of the House of Dunkeld was Alexander III. His wife had borne him two sons and a daughter but by 1286 his sons were dead and his daughter, Margaret, had borne only a single daughter, also named Margaret, to her husband Eric II of Norway before herself dying. Alexander had himself remarried, but in early 1286 he died in an accident while riding home. His wife, Yolande of Dreux, was pregnant but by November 1286 all hope of her bearing a living child had passed. Accordingly, in the Treaty of Salisbury, the Guardians of Scotland recognised Alexander's three-year-old granddaughter, Margaret of Norway, as Queen of Scots. Margaret remained in her father's Kingdom of Norway until Autumn 1290, when she was dispatched to Scotland. However, she died on the journey in Orkney, having never set foot on Scottish soil, and without being crowned at Scone. She is thus sometimes not considered Queen.