It was led by Ali Mohamed, a former Egyptian army officer who had moved to the United States in the mid-1980s, enlisted in the U.S.
( It ( was ( led ( by ( ( ( Ali Mohamed ) , ) ( ( a ( former ( Egyptian ( army officer ) ) ) ) ( who ( had ( ( moved ( to ( the ( United States ) ) ) ) ( in ( ( ( the mid-1980s ) , ) ( enlisted ( in ( the U.S. ) ) ) ) ) ) ) ) ) ) ) ) ) )
(ROOT (S (NP (PRP It)) (VP (VBD was) (VP (VBN led) (PP (IN by) (NP (NP (NNP Ali) (NNP Mohamed)) (, ,) (NP (NP (DT a) (JJ former) (JJ Egyptian) (NN army) (NN officer)) (SBAR (WHNP (WP who)) (S (VP (VBD had) (VP (VBN moved) (PP (TO to) (NP (DT the) (NNP United) (NNPS States))) (PP (IN in) (NP (NP (DT the) (NNS mid-1980s)) (, ,) (VP (VBD enlisted) (PP (IN in) (NP (DT the) (NNP U.S.)))))))))))))))))
Ali Mohamed joined the U.S. Navy in order to learn its secrets.
( ( Ali Mohamed ) ( ( ( joined ( the ( U.S. Navy ) ) ) ( ( in order ) ( to ( learn ( its secrets ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Ali) (NNP Mohamed)) (VP (VBD joined) (NP (DT the) (NNP U.S.) (NNP Navy)) (SBAR (IN in) (NN order) (S (VP (TO to) (VP (VB learn) (NP (PRP$ its) (NNS secrets))))))) (. .)))