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 was in the Israeli military for four years as an officer.
( Lewin ( ( was ( in ( ( the ( Israeli military ) ) ( for ( ( four years ) ( as ( an officer ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Lewin)) (VP (VBD was) (PP (IN in) (NP (NP (DT the) (JJ Israeli) (NN military)) (PP (IN for) (NP (NP (CD four) (NNS years)) (PP (IN as) (NP (DT an) (NN officer)))))))) (. .)))