was appointed and a general staff established—based out of the in Paris. Subsequently, special gendarmerie units were created within the Imperial Guard for combat duties in French occupied Spain. Following the Second Restoration of 1815, the gendarmerie was reduced in numbers to about 18,000 and reorganised into departmental legions. Under King Louis Phillippe a "gendarmerie of Africa" was created for service in Algeria and during the Second Empire the Imperial Guard Gendarmerie Regiment was re-established. The majority of gendarmes continued in what was now the established role of the corps—serving in small, sedentary detachments as armed rural police. Under the Third Republic the ratio of foot to mounted gendarmes increased and the numbers directly incorporated in the French Army with a military police role reduced. In 1901, the was established to train its officers. Battle honours Five battles are remembered on the flag of the Gendarmerie: Battle of Hondschoote (1793): Four hundred gendarmes of the 32nd Division (equivalent of a regiment under the Revolution) engaged in battle on the left wing of the army. They seized enemy artillery positions and lost 117 men. Villodrigo (1812): The 1st legion of Gendarmerie on horseback, belonging to the Brigade of Cavalry of the Army of the North, clashed with the British cavalry on 23 October 1812. Charging with sabres, they penetrated enemy lines killing 250 and taking 85 prisoners. Colonel Béteille, commanding the brigade, received twelve sabre cuts, but he survived. Taguin (1843): Thirty gendarmes on horseback were mobilised to take part in tracking the tribe of the emir Abd-El-Kader and participated in his capture. In a painting by Horace Vernet, which immortalises the scene and hangs in the Musée de Versailles, the gendarmes appear alongside the Algerian Governor-General, Henri d'Orléans, duc d'Aumale. Sevastopol (1855): Two infantry battalions of the Regiment of Gendarmerie of the Imperial Guard participated in taking the city. The 1st battalion seized a strategic position that contributed towards the final victory. A total of 153 Gendarmes fell during this siege. Indo-China (1945/1954): Three legions of infantrymen from the Republican Guard (3000 men) were formed at the end of 1946. Charged with the formation of the Cochin China Civil Guard, they assumed security roles and patrolled the borders, suffering heavy losses: 680 were killed or went missing and 1,500 were wounded. The National Gendarmerie is still sometimes referred to as the (being the old name for the service). The gendarmes