He was a member of the New York State Assembly in 1864, 1865, 1866, 1867 and 1868. In 1867, he was chosen Speaker of the New York State Assembly, at the age of 27 the youngest man ever to hold this office. He was a delegate to the 1868 Republican National Convention.