When Haiti was divided between a kingdom in the north and a republic in the south , Port-au-Prince was the capital of the republic , under the leadership of Alexandre Pétion .
When Haiti was divided between a kingdom in the north and a republic in the south , Port-au-Prince was the capital of the republic .