In 1867, he was elected as a Republican member of the New York State Assembly, representing Suffolk County, serving in the 90th New York State Legislature. He was a delegate to the 1868 Republican National Convention. In 1872, he joined the Liberal Republican Party, and supported Horace Greeley for President.