French rule brought legal prohibitions against slavery and an end to inter-clan warfare. During the colonial period, 90% of the population remained nomadic. Gradually, many individuals belonging to sedentary peoples, whose ancestors had been expelled centuries earlier, began to migrate into Mauritania. Until 1960, the capital of French West Africa was Saint-Louis, in Senegal. When Senegal gained its independence that year, France chose Nouakchott as the site of the new capital of Mauritania. At the time, Nouakchott was little more than a fortified village (or ''"ksar"'').