Catherine I of Russia to bribe the Ottoman grand vizier Baltacı Mehmet Pasha into allowing a retreat. Mehmet allowed the retreat, whether motivated by the bribe or considerations of trade and diplomacy. In any case Peter credited Catherine and proceeded to marry her again (this time officially) at Saint Isaac's Cathedral in St. Petersburg on 9 February 1712. Catherine was Peter's second wife; he had previously married and divorced Eudoxia Lopukhina, who had borne him the Tsarevich Alexis Petrovich. Upon their wedding, Catherine took the style of her husband and became Tsarina. When Peter elevated the Russian Tsardom to Empire, Catherine became Empress. The
Ivan V of Russia supreme ruler and Tsar of all of Russia. The struggle for power within the family had finally ended, and Peter was left to bring Russia into a new age of westernization. In 1730, more than 30 years after Ivan's death, his second surviving daughter Anna, Duchess of Courland was invited to the throne of Russia by the country's privy council. She ruled for more than 10 years, and was succeeded by Ivan's infant great-grandson Ivan VI, but a palace coup engineered in 1741, by Ivan's niece Elizabeth, resulted in the throne passing finally to the progeny of Peter the Great.