What did the Treaty of Brest-Litovsk do?