Sophia Alekseyevna of Russia (September 27, 1657–July 14, 1704) became regent during a succession crisis after the death of her brother, Tsar Feodor III, in 1682. A daughter of Tsar Alexis and his first wife, Maria Miloslavskaya, she was the only one of her sisters educated by Simeon Polotsky. At Feodor’s funeral, she broke with court custom by appearing publicly, then challenged the decision to place her 9-year-old half-brother Peter ahead of her full brother Ivan in the succession.
With the support of the Miloslavsky faction and the Streltsy uprising, Sophia secured the coronation of Ivan V as senior tsar and Peter I as junior tsar. She governed on their behalf from 1682 to 1689, while Prince Vasily Golitsyn served as the leading figure in government. Her regency faced further unrest, including the Khovanshchina rebellion; with the help of Fyodor Shaklovityi, she suppressed the revolt and executed its principal leaders.
During her rule, Sophia loosened some restrictions on runaway peasants, supported military organization, encouraged baroque architecture, and backed the establishment of the Slavonic-Greek-Latin Academy. Her government also saw the Eternal Peace Treaty with Poland in 1686 and the Treaty of Nerchinsk with China in 1689, alongside military campaigns in Crimea. The extent of any romantic relationship between Sophia and Golitsyn remains uncertain; later accounts spread rumors, but the evidence is inconclusive.
As Peter grew older, power shifted toward him and his Naryshkin relatives. In 1689, after a failed effort to rally the Streltsy, Sophia surrendered and was confined to the Novodevichy Convent. She was later implicated, though the extent of her role is unclear, in a 1698 Streltsy uprising that sought to restore her to power. She remained under strict seclusion and died at the convent in 1704.