Passage: On 3 March 1918, the newly established Soviet government agreed to the Treaty of Brest-Litovsk negotiated with the Germans by Leon Trotsky. The settlement arguably contained harsher terms for the Russians than the later Treaty of Versailles would demand of the Germans. The Bolsheviks' principal motivation for acceding to so many of Germany's demands was to stay in power at any cost amid the backdrop of the Russian Civil War. Lenin and Trotsky also believed at the time that all of Europe would soon see world revolution and proletarian internationalism, and bourgeois nationalistic interests as a framework to judge the treaty would become irrelevant.

Question: What did the Soviet government agree to in 1918?
the Treaty of Brest-Litovsk