Before the nineteenth century, the European powers in West Africa were interested only in coastal trade; they attempted no important inland exploration and established no permanent settlements (except Saint-Louis). The European mercantile companies on the coast were charged with making the highest possible profit. Four such French companies enjoyed an official French-government monopoly of the Senegal River trade from 1659 to 1798.