According to many historians, the first King of Scotland was Kenneth I MacAlpin who officially founded the country in 843, however there were earlier leaders during the days of the Kingdom of the Picts.
From King James VI onwards, both England and Scotland shared a monarch, though the two countries were still run mostly independently. The Kingdom of Scotland merged with England to form Great Britain in 1707 making Queen Anne the last monarch under the kingdoms of Scotland and England and the first of Great Britain.
Queen Anne’s uncle, Charles II, was the last monarch to be crowned in Scotland in 1651, his English coronation took place a decade later as part of the Restoration of the Monarchy.