Tanzanian nationality law is regulated by the Constitution of Tanzania, as amended; the Tanzania Citizenship Act, and its revisions; and various international agreements to which the country is a signatory. These laws determine who is, or is eligible to be, a national of Tanzania. The legal means to acquire nationality, formal legal membership in a nation, differ from the domestic relationship of rights and obligations between a national and the nation, known as citizenship. Nationality describes the relationship of an individual to the state under international law, whereas citizenship is the domestic relationship of an individual within the nation. Commonwealth countries, including Tanzania, often use the terms nationality and citizenship as synonyms, despite recognising their legal distinction and the fact that they are regulated by different governmental administrative bodies. For much of Tanzania's history racist policy curtailed domestic rights and nationality. Tanzanian nationality is typically obtained under the principle of jus soli, i.e. by birth in the territory, or jus sanguinis, i.e. by birth in Tanzania or abroad to parents with Tanzanian nationality. It can be granted to persons with an affiliation to the country, or to a permanent resident who has lived in the country for a given period of time through naturalisation. Persons can acquire nationality in Tanzania by birth or later in life through naturalisation. Any child born within the borders of the United Republic of Tanzania, on or after Union Day, 26 April 1964, is granted Tanzanian nationality, except for children of a father who has diplomatic immunity, or parents who were enemy aliens and the territory was under enemy occupation. In practice, to acquire nationality at birth the parents must also be Tanzanian, or the parents must be unknown, as in the case of an abandoned child. A person born outside Tanzania enjoys a right to Tanzanian nationality from birth provided that at least one parent is a Tanzanian by birth or naturalization.