Between 1900 and 1940, the colonial government passed a number of laws – such as the 1922 Vagrancy Act – to segregate people, evict, arrest, expel and limit the movement of the natives and indentured workers.[16][17] Within Nairobi, Africans could live in segregated "native reserves" at the edge of the city.[18][19] Permits to live in Nairobi were necessary, and these permits separated living areas of non-Europeans by ethnic group. One such group were African soldiers who served the military interests of the British colonial army, and their assigned area developed into a slum, now known as Kibera.[20][21][22]