Conscription is made mandatory in France by the Jourdan law.
Conscription
Conscription, also known as the draft in American English, is the practice in which the compulsory enlistment in a national service, mainly a military service, is enforced by law. Conscription dates back to antiquity and it continues in some countries to the present day under various names. The modern system of near-universal national conscription for young men dates to the French Revolution in the 1790s, where it became the basis of a very large and powerful military. Most European nations later copied the system in peacetime, so that men at a certain age would serve 1 to 8 years on active duty and then transfer to the reserve force.
Jourdan law
The Jourdan Law of 5 September 1798 effectively institutionalised conscription in Revolutionary France, which began with the levée en masse. It stipulated that all single and childless men between the ages of 20 and 25 were liable for military service. Exemptions existed however for the clergy, industrial workers essential for the war effort, students from selected Grandes écoles, and public office holders. The law discriminated against the poor and large peasant population through the legally sanctioned practice of 'replacement', which allowed anyone who was able, to purchase someone to enlist in their place. It was named for the French General Jean-Baptiste Jourdan.