When she turned fourteen, Empress Elizabeth, the leader of Russia at the time, came up with an idea to marry Sophia to her nephew Peter III and later invited her to Russia. After moving to Russia, Sophia completely changed her name to Catherine Alekseyvna and converted to Russian Orthodoxy. She became Empress with Peter III in 1745, but the marriage was unhappy. In 1762, after the death of Elizabeth, she overthrew Elizabeth’s heir and her husband Peter III in a coup with the help of her friend, count Grigory Orlov. She became Russian Empress on September 22, 1762