Russia was one of the major belligerents in the First World War: from August 1914 to December 1917, it fought on the Entente's side against the Central Powers.
At the beginning of the 20th century, the Russian Empire was a great power in terms of its vast territory, population, and agricultural resources. Its rail network and industry were developing rapidly, but it had not yet caught up with the Western powers, particularly the German Empire. The Russo-Japanese War of 1904–1905, followed by the Revolution of 1905, revealed the weaknesses of Russia's military apparatus and exposed deep political and social divisions, adding to the question of national minorities.
Russia's rivalries with Germany and Austria-Hungary led to an alliance with France and involvement in Balkan affairs. The July Crisis opened a general conflict in which Russia was allied with France and the United Kingdom.
Emperor Nicholas II believed he could re-establish his autocratic power and reunite his people through a victorious war. However, the army, ill-equipped and ill-prepared for a long battle, suffered a series of defeats in 1914 and 1915: the Empire suffered heavy human and territorial losses. Despite the restrictions on the international trade, Russia set up a war economy and won partial victories in 1916.
However, the discredit of the ruling class, inflation and shortages in the cities, and the unsatisfied demands of peasants and national minorities led to the break-up of the country: the revolution of February–March 1917 swept away the Tsar's regime. A provisional government with democratic aspirations attempted to revive the war effort, but the army, undermined by desertions and mutinies, fell apart.
The October–November 1917 revolution led to the dissolution of the army and the economic and social frameworks. The Bolshevik regime signed the Treaty of Brest-Litovsk with Germany on March 3, 1918, abandoning Ukraine, the Baltic countries, and the Caucasus. Torn Russia soon moved from international war to civil war.