Complex sentence: The school building also contained a lockup and the town's offices and was used by the Mechanics Institute, but was demolished in the late 19th century.
Split into simpler sentences: The school building also contained a lockup and the town's offices, and was also used by the Mechanics Institute. It was demolished in the late 19th century.