Behind the uprising lurked the rivalry between the Miloslavsky and Naryshkin relatives of the two wives of the late Tsar Aleksey, who died in 1676, for dominant influence on the administration of the Tsardom of Russia.
The Naryshkin brothers of Tsarina Natalia Naryshkina availed themselves of the interregnum and persuaded the Patriarch to proclaim her ten-year-old son Peter as the new Tsar of Russia.
The Miloslavsky party, which comprised the relatives of the late Tsarina Maria Miloslavskaya, spread rumours that the Naryshkins had strangled Maria's son, Peter's elder half-brother Ivan and poisoned the former Tsar, Feodor, in the Moscow Kremlin.
On 11 May 1682 the mob of the Streltsy took over the Kremlin and lynched the leading boyars and military commanders, whom they suspected of corruption—Artamon Matveev, Mikhail Dolgorukov, and Grigory Romodanovsky.
In the fall of 1682 Prince Ivan Andreyevich Khovansky (Tararui)—Sophia's close associate and one of the leaders of the rebellious Streltsy—turned against her.