Complex sentence: Cao Binh was a prominent administrative town until the French occupied the territory; the capital was shifted to the Cao Bang peninsula when the French conquered the area in 1884.
Split into simpler sentences: Cao Binh was a prominent administrative town until the French occupied the territory. However, the capital was shifted to the Cao Bang peninsula when the French conquered the area in 1884.