Complex sentence: Hays was elected sheriff of San Francisco County in 1850, and later became active in politics.
Split into simpler sentences: Hays was elected sheriff of San Francisco County in 1850. He also became active in politics.