Complex sentence: During the French Revolution, the ruin was sold as national property and, until 1898, it was treated as a quarry.
Split into simpler sentences: During the French Revolution, the ruin was sold as national property. Until 1898, the castle was treated as a quarry.