Complex sentence: The property was sold in 1946 and was run as a hotel until 1990, when it became a school for the next 21 years.
Split into simpler sentences: The property was sold in 1946 and was run as a hotel until 1990. At that time it was turned into a school for the next 21 years.