Comorian nationality law is regulated by the Constitution of the Comoros, as amended; the Comorian Nationality Code, 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 the Comoros. 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. Comorian nationality is typically obtained under the principle of jus soli, i.e. by birth in the Comoros, or jus sanguinis, born abroad to parents with Comorian 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