The newly formed Russian Republic continued to fight the war alongside Romania and the rest of the Entente in desultory fashion. It was overthrown by the Bolsheviks in October 1917. The new government established by the Bolsheviks signed the Treaty of Brest-Litovsk with the Central Powers, taking it out of the war and making large territorial concessions to Germany. Romania was also forced to surrender and signed a similar treaty; both of the treaties were nullified with the surrender of the Central Powers in November 1918.