French Algeria was legally part of France, not merely a colony, and that status opened a path across the Mediterranean. The first large contingents of Algerian men came during World War I, when France recruited colonial soldiers and factory workers. The flow became massive after World War II. France needed hands to rebuild and to staff the car plants, mines, steelworks and construction sites of its thirty-year boom, and a 1947 law gave Algerian Muslims freedom to move to the mainland. Rural poverty in Algeria, worsened by colonial seizure of the best land, pushed men north. By the time of Algerian independence in 1962 at least 350,000 Algerians lived in France (demographers think the census undercounted, with realistic estimates up to about 450,000); by the mid-1970s the number had passed 700,000.
Most early migrants were single men who sent wages home and expected to return. They lived in workers' hostels or in shantytowns (bidonvilles) on the edges of Paris, Lyon and Marseille. The Algerian War of Independence followed them: the FLN collected dues among workers in France, and on 17 October 1961 Paris police attacked a peaceful Algerian demonstration against a curfew, killing dozens, possibly more than a hundred, people. Independence did not stop migration; a devastated Algerian economy and continuing French demand for labor sustained it, alongside the flight to France of some 800,000 to 900,000 European settlers and of Algerians who had fought for the French.
When recession came, France halted labor immigration in 1974, but family reunification turned a workforce of sojourners into settled communities, often concentrated in suburban housing projects. Their French-born children faced discrimination in jobs and policing and marched for equality in 1983, while also reshaping French music, sport, food and debate about national identity and Islam.
This is one of the CED's examples of migration to a Metropole. Compare South Asian Migration to Britain and Filipino Migration to the United States.