he held different positions in the military