From 1867 to 1871, he served as Secretary of State. When the California State Capitol building was completed he climbed to the top of the dome and placed the golden ball into place. While he was in office, the location was selected for the University of California at Berkeley.