Complex sentence: After the earthquake, the town was partially rebuilt but the colonial government was relocated to Spanish Town, which had been the capital under Spanish rule.
Split into simpler sentences: After the earthquake, the town was partially rebuilt. But the colonial government was relocated to Spanish Town, which had been the capital under Spanish rule.