To discourage birth tourism, Australia, France, Germany, Ireland, New Zealand, South Africa, and the United Kingdom have modified their citizenship laws at different times, granting citizenship by birth only if at least one parent is a citizen of the country or a legal permanent resident who has lived in the country for several years.