(S (S (NP (BASENP (DT A) (NN letter)) (SBAR (WHNP (WDT that)) (S (VP (VBD had) (VP (VBN been) (VP (VP (VBN written) (PP (IN in) (BASENP (NN 1988)))) (PP (IN by) (NP (BASENP (NNP Ayatollah) (NNP Ruhollah) (NNP Khomeini)) (COMMA ,) (SBAR (WHNP (WP who)) (S (VP (VP (VBD led) (BASENP (DT the) (NN 1979) (NNP Iranian) (NNP Revolution))) (CC and) (VP (VBZ is) (NP (BASENP (NNP Iran) (POS 's)) (BASENP (JJ former) (NNP Supreme) (NNP Leader))))))))))))))) (VP (VP (VBZ has) (VP (VBN been) (VP (VP (VBN made) (ADVP (RB public))) (PP (IN by) (NP (BASENP (NNP Iran) (POS 's)) (BASENP (JJ former) (NN president) (NNP Hashemi) (NNP Rafsanjani))))))) (CC and) (VP (VBZ states) (SBAR (IN that) (S (BASENP (NNP Iran)) (VP (VBD needed) (S (VP (TO to) (VP (VP (VB acquire) (BASENP (JJ nuclear) (NNS weapons))) (PP (IN in) (NP (BASENP (DT an) (NN attempt)) (SBAR (S (VP (TO to) (VP (VB win) (NP (BASENP (DT the) (NN war)) (PP (IN with) (BASENP (NNP Iraq))))))))))))))))))) (PERIOD .))