Lewin had served four years as an officer in the Israeli military.
( Lewin ( ( had ( ( served ( four years ) ) ( as ( ( an officer ) ( in ( the ( Israeli military ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Lewin)) (VP (VBD had) (VP (VBN served) (NP (CD four) (NNS years)) (PP (IN as) (NP (NP (DT an) (NN officer)) (PP (IN in) (NP (DT the) (JJ Israeli) (NN military))))))) (. .)))
Lewin had served in the Israeli military as an officer for four years, and a recruit for years previously.
( Lewin ( ( had ( ( served ( in ( ( the ( Israeli military ) ) ( as ( ( ( ( ( an officer ) ( for ( four years ) ) ) , ) and ) ( ( a recruit ) ( for years ) ) ) ) ) ) ) previously ) ) . ) )
(ROOT (S (NP (NNP Lewin)) (VP (VBD had) (VP (VBN served) (PP (IN in) (NP (NP (DT the) (JJ Israeli) (NN military)) (PP (IN as) (NP (NP (NP (DT an) (NN officer)) (PP (IN for) (NP (CD four) (NNS years)))) (, ,) (CC and) (NP (NP (DT a) (NN recruit)) (PP (IN for) (NP (NNS years)))))))) (ADVP (RB previously)))) (. .)))