he maintained his participation in the war until its end