Complex sentence: He attended school in Wiscasset, Maine, and later taught there in 1838--1839 when he moved to Davenport, Iowa.
Split into simpler sentences: He attended school in Wiscasset, Maine, and later taught there in 1838--1839. In 1839 he moved to Davenport, Iowa.