Complex sentence: He moved to Petersburg, Virginia, in 1865, and served as mayor of Petersburg in 1869 and 1870, resigning in the latter year.
Split into simpler sentences: He moved to Petersburg, Virginia, in 1865. He served as mayor of Petersburg in 1869 and 1870, resigning in the latter year.