French Algeria ( to 1839, then afterwards; unofficially , ), also known as Colonial Algeria, refers to the French colonisation of Algeria. French rule in the region began in 1830 with the invasion of Algiers and lasted until the end of the Algerian War of Independence in 1962. While the administration of Algeria changed significantly over the 132 years of French rule, the Mediterranean coastal region of Algeria, housing the vast majority of its population, was ruled as an integral part of France from 1848 until its independence.