To do this, the old system of indirect rule through mestiço and African allies had to be replaced by direct Portuguese control and white settlement.  Though European settlement continued at a relatively slow pace through the late nineteenth and early twentieth centuries, restrictions were gradually made on which civil service and military positions Africans or mestiços could occupy. 