His public speech-making in support of Sumner led to his election to the California State Assembly the same year. He was re-elected in 1862. In 1863, he was elected Attorney General, but lost re-election in 1867. He moved to San Francisco, where he established a lucrative legal practice.
