Moroccan nationality law is regulated by the Constitution of Morocco, as amended; the Moroccan Nationality Code, and its revisions; the Mudawana (Family Code; the Civil Liberties Code; and various international agreements to which the country is a signatory. These laws determine who is, or is eligible to be, a national of Morocco. 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. Moroccan nationality is typically obtained under the jus sanguinis, i.e. by birth in Morocco or abroad to parents with Moroccan 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 naturalization. Nationality can be acquired in Morocco at birth or later in life through naturalization. Moroccan law provides that those who acquire nationality at birth include: Children born anywhere to a Moroccan national; however, nationality to a child born abroad to a Moroccan mother can be renounced once the child reaches the age of majority; Children born in Morocco to a father who was born in the territory and is from a country with a predominantly Arab-Muslim culture, or children born to foreign parents both of whom were born in Morocco and have permanent residency must register under a non-discretionary program; or Newborn foundlings born in the country whose parents are unknown. Naturalization can be granted to persons who have resided in the territory for a sufficient period of time to confirm they speak Arabic or Tamazight and understand the customs and traditions of Morocco. General provisions are that applicants have good character and conduct; are in good physical and mental health; are able to economically support themselves; and have no criminal record.