 He was a member of the New York State Senate (20th D.) in 1858 and 1859.He was elected as a Republican to the 39th, 40th and 41st United States Congresses, holding office from March 4, 1865, to March 3, 1871.He was a delegate to the Republican state convention of 1867.