Complex sentence: He served as collector of internal revenue for the third district of Maryland at Baltimore in 1865 and 1866, and was appointed city solicitor for Baltimore in 1876 and served two years.
Split into simpler sentences: He served as collector of internal revenue for the third district of Maryland at Baltimore in 1865 and 1866. He was appointed city solicitor for Baltimore in 1876 and served two years.