James VI of Scotland's (also James I of England) daughter, Elizabeth, married Frederick V, Elector of the Palatinate, and their daughter Sophia married Ernest Augustus, Elector of Hanover. Their son George Louis became King George I of Great Britain in 1714.
The Reign of George I: A Quiz on the First Hanoverian King of Great Britain