Which of these was a result of the treaty of brest-litovsk?

Which of these was a result of the treaty of brest-litovsk? the end of world war i russia’s withdrawal from the war the end of austria-hungary’s war w?