Slovenian nationality law is based primarily on the principles of jus sanguinis, in that descent from a Slovenian parent is the primary basis for acquisition of Slovenian citizenship. However, although children born to foreign parents in Slovenia do not acquire Slovenian citizenship on the basis of birthplace, place of birth is relevant for determining whether the child of Slovenian parents acquires citizenship. Slovenia became independent from Yugoslavia on June 25, 1991, and transitional provisions were made for the acquisition of Slovenian citizenship by certain former Yugoslav citizens. Dual citizenship is permitted in Slovenia, with the exception that those acquiring Slovenian citizenship by naturalisation are normally required to renounce any foreign citizenship they hold. Transitional provisions on independence - 25 June 1991 Prior to independence in 1991, Slovenians were citizens of Yugoslavia. However, within Yugoslavia an internal "citizenship of the Republic of Slovenia" existed, and at independence any Yugoslav citizen who held this internal "Slovenian citizenship" automatically became a Slovenian citizen. Certain other former Yugoslav citizens were permitted to acquire Slovenian citizenship under transitional provisions: a Yugoslav citizen connected with another republic who was resident in Slovenia on 23 December 1990 and remained resident in Slovenia until the coming into force of the Slovenia Nationality Act, together with that person's children aged under 18 a person aged between 18 and 23 who was born in Slovenia, with parents who originally held internal Slovene citizenship within Yugoslavia but switched to citizenship of another Yugoslav republic. Citizenship by birth and adoption A child born in Slovenia is a Slovenian citizen if either parent is a Slovenian citizen Where the child is born outside Slovenia the child will be automatically Slovenian if: both parents are Slovenian citizens; or one parent is Slovenian and the other is stateless; or the child does not have any other citizenship. A person born outside Slovenia with one Slovenian parent who is not Slovenian automatically may acquire Slovenian citizenship through: an application for registration as a Slovenian citizen made at any time before age 36; or taking up permanent residence in Slovenia before age 18 Children adopted by Slovenian citizens may be granted Slovenian citizenship. Citizenship by naturalization A person may acquire Slovenian citizenship by naturalization upon satisfying the following conditions: a total of 10 years residence in Slovenia, including 5 years continuous residence before the application renunciation of foreign citizenship (or providing proof it will automatically be lost).