Complex sentence: Spanish Town remained as the capital until 1872, when the seat of the colony was moved to Kingston that had been founded in the aftermath of the earthquake of Port Royal in 1692.
Split into simpler sentences: Spanish Town remained as the capital until 1872, when the seat of the colony was moved to Kingston. Kingston had been founded in the aftermath of the earthquake of Port Royal in 1692.