On March 8, 1856, Cole was one of the organizers of the California branch of the
Republican Party, acting as secretary and writing its initial manifesto. 1860–1865 Additionally, he was nominated on the Republican ticket for Clerk of Sacramento Court but was unsuccessful. In 1858 he was elected
District Attorney of
Sacramento County. In 1863, he was commissioned as a
captain after winning an election to command the Santa Cruz Cavalry Troop, a unit he helped raise for the
California Militia. He did actively command because he had been elected to Congress. He was on the speaker's platform near Lincoln, and both heard and saw him deliver the
Gettysburg Address. He was also one of the senators who voted in favor of the
Impeachment of Andrew Johnson. == Later life ==