The Russian people were exhausted by the long and bloody war. After the October Socialist Revolution of 1917 Russia became a state of Soviets. The new government tried to stop that war, adopting the Decree on Peace on November 8, 1917. According to it, the Soviet Russia suggested to impose immediately a truce and begin peace negotiations. But the Allies did not support Russia.
The armistice negotiations started in Brest-Litovsk in December, 1917. They were held between the delegations of the Soviet Russia - on the one hand, and Germany and its allies (Austria-Hungary, Turkey, Bulgaria) - on the other. The negotiations lasted until March, 1918.
On March 3, 1918, the Brest-Litovsk Peace Treaty was signed in the White Palace of the Brest Fortress. According to it, Russia withdrew from the war, ceding an area of 780 thousand square kilometres with population of 56 million people.