French North Africa (French: Afrique du Nord française, sometimes abbreviated to ANF) is a term often applied to the three territories that were controlled by France in the North African Maghreb during the colonial era, namely Algeria, Morocco and Tunisia. In contrast to French West Africa and French Equatorial Africa which existed as federations of French colonies and administrative entities in their own right, French North Africa was never more than a term of convenience to refer to the three separately governed territories under different forms of colonial regime.
In the 19th century, the decline of the Ottoman Empire, which had loosely controlled the area since the 16th century, left the region vulnerable to other forces. In 1830, French troops captured Algiers and from 1848 until independence in 1962, France treated Algeria as an integral part of France, the Métropole or metropolitan France. In subsequent decades, a substantial European settler population emerged in Algeria known as the Pieds-Noirs. Seeking to expand their influence beyond Algeria, the French established protectorates to the east and west of it. The French protectorate of Tunisia was established in 1881, following a swift military invasion, and the French protectorate in Morocco in 1912, following a prolonged military campaign. These lasted until 1956 when both protectorates gained full independence, Tunisia on 20 March and Morocco on 7 April.
French rule in North Africa was finally ended as a result of the Algerian War (1954–62) and the Évian Accords of March 1962 which enabled the Algerian independence referendum of July 1962. Algeria formally became independent the same month.