From 1865 to 1869, Harding served as a Republican member of Congress. During the 39th Congress, he served as Chairman of the Committee on the Militia.
Harding's tenure as a Republican congressman from 1865 to 1869 involved serving on a congressional committee that focused on military affairs. This role was part of his broader involvement in government during the 39th Congress.