Cap-Haïtien's long history of independent thought was formed in part by its relative distance from Port-au-Prince, the barrier of mountains between it and the southern part of the country, and a history of large African populations. These contributed to making it a legendary incubator of independent movements since slavery times. For instance, from February 5–29, 2004, the city was taken over by militants who opposed the rule of the Haïtian president Jean-Bertrand Aristide. They eventually created enough political pressure to force him out of office and the country.