late 1800s, French nationality law was liberalized for great conferment of French citizenship, partly with an eye to increasing French military ranks. These included re-introduction of simple jus soli (at first with a right of the person to repudiate French citizenship, but that right was later removed), elimination of the loss of citizenship when emigrating from France, and repeal of the loss of citizenship by a French woman on marriage to a foreigner when she did not automatically obtain her husband's citizenship. 20th century In 1927, French nationality law was further loosened to increase naturalization so as to attract a larger work force for French industry. The measure also extracted the nationality law from the French civil code and made it an independent text, as it had grown too large and unwieldy. Legislation in 1934, motivated by xenophobia, imposed burdens on naturalized citizens and provided the government powers to forfeit citizenship, which the Nazi-collaborator Vichy regime used widely. A 1945 post-war measure promulgated a comprehensive nationality code that established very lengthy and detailed rules to shield citizens from government whimsy. Amendments were by legislation in 1962 and by constitutions in 1946 and 1958, with the latter creating the status of "citoyen de la Communauté", vaguely akin to the British status of "Citizen of the United Kingdom and Colonies" established by the British Nationality Act 1948. The 1993 law that attempted to restrict conferral of French citizenship also transferred the contents of the Code de la Nationalité Française back into the Code Civil, where they had existed from 1803 until 1927. Acquisition of citizenship There are various ways a person can acquire French citizenship, either at birth or later on in life. The nationality provisions of French law are detailed in the opening divisions of the :fr:Code civil des Français. The attribution of French nationality can be due to filiation. (Jus sanguinis) The attribution of French nationality can be given by birth in France (Jus soli) if other requirements (such as residence in France) are also met. French citizenship by birth in metropolitan France and its overseas territories Children born in France (including overseas territories) to at least one parent who was also born in France automatically acquire French citizenship at birth (double jus soli). A child born in France to foreign parents may acquire French citizenship: at birth, if stateless. at 18, if resident in France with at least 5