Answer
Sophia Magdalena of Denmark died on 21 August 1813. She was born on 30 August 1746 and was the daughter of King Frederick V of Denmark and Queen Louise of Great Britain. Sophia Magdalena was married to King Gustav III of Sweden from 1766 until his assassination in 1792. She had three children with Gustav III: Gustav IV Adolf, Prince Carl Gustav and Princess Sophia Albertina.