 He was an early member of the Republican Party and a member of the Washington City Councils from 1861 to 1871, during which time he was an important voice for D.C. emancipation, then for suffrage for the freed slaves.Frederick Douglass would later say of him, "I want to thank Governor Shepherd for the fair way in which he treated the colored race when he was in a position to help them.