(S (S (NP (BASENP (NNP Elizabeth) (NNP Wilmshurst)) (PRN (COMMA ,) (NP (BASENP (JJ then) (NNP Deputy) (NNP Legal) (NNP Adviser)) (PP (TO to) (BASENP (DT the) (UCP (NNP Foreign) (CC and) (NNP Commonwealth)) (NNP Office)))) (COMMA ,))) (VP (VP (VBD resigned) (PP (IN in) (BASENP (NN protest)))) (PP (BASENP (RB only) (NNS days)) (PP (IN before) (BASENP (DT the) (NN invasion)))))) (PERIOD .))