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.
House of Stuart
In total, nine Stewart/Stuart monarchs ruled Scotland alone from 1371 until 1603. The last ruler of Scotland alone was James VI, who in 1603 became the first dual monarch of England and Scotland. Following the Glorious Revolution in 1688, two Stuart queens ruled the isles: Mary II and Anne. Both were the Protestant daughters of James VII and II by his first wife. They were the great-grandchildren of James VI and I. Their father had converted to Catholicism and his new wife gave birth to a son in 1688, who was brought up a Roman Catholic and preceded his half-sisters; so James was deposed by Parliament in 1689, in favour of his daughters. But neither had any children who survived to adulthood, so under the terms of the Act of Settlement 1701 and the Act of Security 1704, the crown passed to the House of Hanover on the death of Queen Anne in 1714.