(S (S (S (BASENP (NNP Solidarity)) (VP (VBD was) (VP (VBN created) (PP (IN as) (BASENP (DT an) (JJ independent) (NN trade) (NN union)))))) (SBAR (WHADVP (WRB when)) (S (BASENP (JJ such) (NNS organizations)) (VP (VBD were) (VP (VBN outlawed) (PP (IN under) (BASENP (DT the) (NNP Communist) (NN state)))))))) (PERIOD .))