Complex sentence: After two years he was elected to succeed himself for a six-year term, and served in this capacity until the superior courts came into existence under the Constitution of 1879, when he was elected a judge of the superior court for Sonoma County.
Split into simpler sentences: After two years he was elected to succeed himself for a six-year term. He served in this capacity until the superior courts came into existence under the Constitution of 1879, when he was elected a judge of the superior court for Sonoma County.