Complex sentence: In 1770, Port-au-Prince replaced Cap-Français (the modern Cap-Haïtien) as capital of the colony of Saint-Domingue, and in 1804, it became the capital of newly independent Haïti.
Split into simpler sentences: In 1770, Port-au-Prince replaced Cap-Français (the modern Cap-Haïtien) as capital of the colony of Saint-Domingue. In 1804, it became the capital of newly independent Haïti.