Those in Egypt, Libya, Iraq, and Yemen were eventually overthrown by secular nationalist revolutionaries.
( ( Those ( in ( Egypt ( , ( Libya ( , ( Iraq ( , ( and Yemen ) ) ) ) ) ) ) ) ) ( ( ( were eventually ) ( overthrown ( by ( secular ( nationalist revolutionaries ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT Those)) (PP (IN in) (NP (NNP Egypt) (, ,) (NNS Libya) (, ,) (NNP Iraq) (, ,) (CC and) (NNP Yemen)))) (VP (VBD were) (ADVP (RB eventually)) (VP (VBN overthrown) (PP (IN by) (NP (JJ secular) (JJ nationalist) (NNS revolutionaries))))) (. .)))
Secular nationalist revolutionaries eventually overthrew them in Egypt and Libya.
( ( Secular ( nationalist revolutionaries ) ) ( eventually ( ( ( overthrew them ) ( in ( ( Egypt and ) Libya ) ) ) . ) ) )
(ROOT (S (NP (JJ Secular) (JJ nationalist) (NNS revolutionaries)) (ADVP (RB eventually)) (VP (VBD overthrew) (NP (PRP them)) (PP (IN in) (NP (NNP Egypt) (CC and) (NNP Libya)))) (. .)))