Moscow declared it would pull its military forces out of Afghanistan within the next nine months.
( Moscow ( ( declared ( it ( would ( ( ( pull ( its ( military forces ) ) ) out ) ( of ( Afghanistan ( within ( the ( next ( nine months ) ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Moscow)) (VP (VBD declared) (SBAR (S (NP (PRP it)) (VP (MD would) (VP (VB pull) (NP (PRP$ its) (JJ military) (NNS forces)) (PRT (RP out)) (PP (IN of) (NP (NP (NNP Afghanistan)) (PP (IN within) (NP (DT the) (JJ next) (CD nine) (NNS months)))))))))) (. .)))
Moscow decided its military forces needed to withdraw from Afghan territory.
( Moscow ( ( decided ( ( its ( military forces ) ) ( needed ( to ( withdraw ( from ( Afghan territory ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Moscow)) (VP (VBD decided) (SBAR (S (NP (PRP$ its) (JJ military) (NNS forces)) (VP (VBD needed) (S (VP (TO to) (VP (VB withdraw) (PP (IN from) (NP (JJ Afghan) (NN territory)))))))))) (. .)))