Complex sentence: China remained together as a single country, while prior to the Boxer Rebellion it seemed likely to be divided by the colonial powers.
Split into simpler sentences: China remained together as a single country. Prior to the Boxer Rebellion it seemed likely to be divided by the colonial powers.