(S (S (PP (IN In) (NP (BASENP (DT the) (NNS weeks)) (VP (VBG leading) (PP (TO to) (NP (BASENP (NNP Alabama) (POS 's)) (BASENP (JJ gubernatorial) (NNS primaries))))))) (COMMA ,) (S (BASENP (NNS polls)) (VP (VBD showed) (SBAR (S (BASENP (NNP Riley)) (VP (VBD had) (VP (VBN pulled) (ADVP (RB ahead) (PP (IN of) (NP (BASENP (NNP Moore)) (COMMA ,) (NP (BASENP (DT the) (JJ former) (NN state) (JJ chief) (NN justice)) (SBAR (WHNP (WP who)) (S (VP (VP (VBD became) (NP (BASENP (DT a) (NN hero)) (PP (TO to) (BASENP (DT the) (JJ religious) (NN right))))) (PP (IN in) (NP (BASENP (NN 2003)) (SBAR (WHADVP (WRB when)) (S (BASENP (PRP he)) (VP (VBD was) (VP (VBN ousted) (PP (IN over) (NP (BASENP (PRPD his) (NN refusal)) (S (VP (TO to) (VP (VP (VB remove) (BASENP (DT a) (JJ 5,300-pound) (NNP Ten) (NNPS Commandments) (NN monument))) (PP (IN from) (BASENP (DT the) (NN state) (JJ judicial) (NN building))))))))))))))))))))))) (BAR> ))))) (PERIOD .)))