In Yekaterinburg, Russia, Czar Nicholas II and his family are executed by the Bolsheviks, bringing an end to the three-century-old Romanov dynasty.

Crowned in 1896, Nicholas was neither trained nor inclined to rule, which did not help the autocracy he sought to preserve among a people desperate for change. The disastrous outcome of the Russo-Japanese War led to the Russian Revolution of 1905, which ended only after Nicholas approved a representative assembly–the Duma–and promised constitutional reforms. The czar soon retracted these concessions and repeatedly dissolved the Duma when it opposed him, contributing to the growing public support for the Bolsheviks and other revolutionary groups. In 1914, Nicholas led his country into another costly war—World War I—that Russia was ill-prepared to win. Discontent grew as food became scarce, soldiers became war weary and devastating defeats at the hands of Germany demonstrated the ineffectiveness of Russia under Nicholas.

In March 1917, revolution broke out on the streets of Petrograd (now St. Petersburg) and Nicholas was forced to abdicate his throne later that month. That November, the radical socialist Bolsheviks, led by Vladimir Lenin, seized power in Russia from the provisional government, sued for peace with the Central Powers and set about establishing the world’s first communist state. Civil war broke out in Russia in June 1918, and in July the anti-Bolshevik “White” Russian forces advanced on Yekaterinburg, where Nicholas and his family were located, during a campaign against the Bolshevik forces. Local authorities were ordered to prevent a rescue of the Romanovs, and after a secret meeting of the Yekaterinburg Soviet, a death sentence was passed on the imperial family.

READ MORE: Why the Romanov Family’s Fate Was Kept Secret

Late on the night of July 16, Nicholas, Alexandra, their five children and four servants were ordered to dress quickly and go down to the cellar of the house in which they were being held. There, the family and servants were arranged in two rows for a photograph they were told was being taken to quell rumors that they had escaped. Suddenly, a dozen armed men burst into the room and gunned down the imperial family in a hail of gunfire. Those who were still breathing when the smoked cleared were stabbed to death.

The remains of Nicholas, Alexandra and three of their children were excavated in a forest near Yekaterinburg in 1991 and positively identified two years later using DNA fingerprinting. The Crown Prince Alexei and one Romanov daughter were not accounted for, fueling the persistent legend that Anastasia, the youngest Romanov daughter, had survived the execution of her family. Of the several “Anastasias” that surfaced in Europe in the decade after the Russian Revolution, Anna Anderson, who died in the United States in 1984, was the most convincing. In 1994, however, scientists used DNA to prove that Anna Anderson was not the czar’s daughter but a Polish woman named Franziska Schanzkowska.

READ MORE: The Romanov Family Tree: Real Descendants and Wannabes