Ivory Coast, like the rest of West Africa, was subject to these influences, but the absence of sheltered harbors along its coastline prevented Europeans from establishing permanent trading posts. Seaborne trade, therefore, was irregular and played only a minor role in the penetration and eventual conquest by Europeans of Ivory Coast. The slave trade, in particular, had little effect on the peoples of Ivory Coast. A profitable trade in ivory, which gave the area its name, was carried out during the seventeenth century, but it brought about such a decline in elephants that the trade itself virtually had died out by the beginning of the eighteenth century.