When did Bulgaria leave World War 1?

after its end