Complex sentence: The courtrooms date back to the 14th century and the gaol to at least 1449, the builing was used as a police station from 1905 to 1985, and the courts closed in 1986.
Split into simpler sentences: The courtrooms date back to the 14th century and the gaol dates back to at least 1449. There was also a working police station from 1905 to 1985, and the courts closed in 1986.