In 1804, it became the capital of newly independent Haïti. When Jean-Jacques Dessalines was assassinated in 1806, Port-au-Prince became the capital of the mulatto-dominated south (Cap-Haïtien was the capital of the black-dominated north). It was re-established as the capital of all of Haiti when the country was unified again in 1820.