Complex sentence: The hall was used as a farm building until the mid 20th century when it was abandoned.
Split into simpler sentences: The hall was used as a farm building. In the mid 20th century it was abandoned.