he held that position until the end of the war