Complex sentence: The log building was replaced by a brick structure in 1832, which served until 1879, when it was demolished to make way for a new stone courthouse.
Split into simpler sentences: The log building was replaced by a brick structure in 1832, which served until 1879. It was demolished to make way for a new stone courthouse.