What party did the incumbent Thomas P. Moore belong to?
create table table_2668254_8 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_2668254_8 where incumbent = "thomas p. moore"