(S (S (BASENP (NNP Solidarity)) (VP (ADVP (RB eventually)) (VP (VP (VP (VBD came) (PP (TO to) (BASENP (NN power)))) (PP (IN in) (BASENP (NNP Poland)))) (PP (IN with) (S (BASENP (NNP Walesa)) (VP (VP (VBG serving) (PP (IN as) (NP (BASENP (NNP President)) (PP (IN of) (BASENP (NNP Poland)))))) (PP (PP (IN from) (BASENP (NN 1990))) (PP (TO to) (BASENP (NN 1995)))))))))) (PERIOD .))