(S (S (BASENP (NNP Carey)) (VP (VP (VBD was) (NP (BASENP (DT the) (JJ 51st) (NN governor)) (PP (IN of) (BASENP (DT the) (NN state))))) (CC and) (VP (VP (VP (VBD held) (BASENP (NN office))) (PP (PP (IN from) (BASENP (NN 1975))) (PP (IN until) (BASENP (NN 1982))))) (PP (IN as) (BASENP (DT a) (NNP Democrat)))))) (PERIOD .))