Input (grade 9): It was first incorporated under the colonial rule of the French, in 1749, and has been Haiti's largest metropolis since then.
Output (grade 11): 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.