In the administrative divisions of France, the department (, ) is one of the three levels of government under the national level ("territorial collectivities"), between the administrative regions and the communes. Ninety-six departments are in metropolitan France, and five are overseas departments, which are also classified as overseas regions. Departments are further subdivided into 332 arrondissements, and these are divided into cantons. The last two levels of government have no autonomy, instead serving as the basis of local organisation of police, fire departments and, sometimes, administration of elections. Each department is administered by an elected body called a departmental council ( [sing.], [plur.]). From 1800 to April 2015, these were called general councils ( [sing.] [plur.]). Each council has a president. Their main areas of responsibility include the management of a number of social and welfare allowances, of junior high school () buildings and technical staff, and local roads and school and rural buses, and a contribution to municipal infrastructures. Local services of the state administration are traditionally organised at departmental level, where the prefect represents the government; however, regions have gained importance since the 2000s, with some department-level services merged into region-level services. The departments were created in 1790 as a rational replacement of Ancien Régime provinces with a view to strengthen national unity; the title "department" is used to mean a part of a larger whole. Almost all of them were named after physical geographical features (rivers, mountains, or coasts), rather than after historical or cultural territories, which could have their own loyalties, or after their own administrative seats. The division of France into departments was a project particularly identified with the French revolutionary leader the Abbé Sieyès, although it had already been frequently discussed and written about by many politicians and thinkers. The earliest known suggestion of it is from 1665 in the writings of d'Argenson. They have inspired similar divisions in many countries, some of them former French colonies. The 1822 territorial division of Spain (reverted due to the 1823 French intervention ending the trienio liberal) and the 1833 territorial division of Spain, which forms the basis of the present day Provinces of Spain with minor modifications is also based on the French model of departments of roughly equal size. Most French departments are assigned a two-digit number, the Official Geographical Code, allocated by the (). Overseas departments have a three-digit number. The number is used,