Complex sentence: The tower has been destroyed twelve times, both by warfare and by fire, in the Ming and Qing dynasties and was repaired on ten separate occasions.
Split into simpler sentences: The tower has been destroyed twelve times, both by warfare and by fire. In the Ming and Qing dynasties alone, the tower was destroyed and rebuilt twelve times and was repaired on ten separate occasions.