In 1830, in the days before the outbreak of the July Revolution against the Bourbon Restoration in France, the conquest of Algeria was initiated by Charles X as an attempt to increase his popularity amongst the French people. The invasion began on 5 July 1830. Afterwards Algeria would become a French territory from 1830 to 1962, under a variety of governmental systems.