After the October Revolution that marked the beginning of the Soviet regime, Anastasia was confined in the Urals along with the rest of the imperial family. On July 17, 1918, Anastasia and her immediate family were shot in a cellar by the Bolsheviks. Their bodies were thrown into an abandoned mine pit and later buried.