Complex sentence: The building was used as a school for almost 80 years, until 1999, when the increasing costs of maintenance forced its closure.
Split into simpler sentences: The building was used as a school for almost 80 years, until 1999. The increasing costs of maintenance of the old building forced its closure.