moore was elected as a republican to the fortieth and forty-first congresses, serving in office from march 4, 1867 – march 3, 1871. he was chairman of the committee on expenditures in the post office department in the forty-first congress. he was unsuccessful candidate for renomination in 1870