Christian III of Denmark
On 30 September 1658, she married Ernest Augustus, Duke of Brunswick-Lüneburg, at Heidelberg, who in 1692 became the first Elector of Hanover. Ernest August was a second cousin of Sophia's mother Elizabeth Stuart, Queen of Bohemia, as they were both great-grandchildren of Christian III of Denmark.