what happened to germany's leader after ww1