 He was forced to leave Algiers in 1957 because of the Algerian War.Mammeri came back to Algeria shortly after its independence in 1962.From 1965 to 1972 he taught Berber at the university in the department of ethnology; although teaching Berber was prohibited in 1962 by the Algerian government, he was permitted to teach Berber courses until 1973, when courses such as ethnology and anthropology were judged as "colonial sciences" and disbanded.