either of the parents having lived in Portugal for at least six years beforehand. As part of the modernization, automatic acquisition of Portuguese citizenship by a woman marrying a Portuguese man was ended, and became simply one of the grounds on which naturalisation could be requested. The ability for persons who had previously lost citizenship due to marriage or voluntary acquisition of foreign citizenship to reacquire Portuguese citizenship was introduced. Law 25/94 of 1994 In response to an increase in the 1990s of unlawful immigration into Portugal, the governing coalition amended the 1981 act by limiting jus soli and naturalisation. For jus soli, the parents were now required not only to reside in Portugal, but to hold a residence permit -- and the work permit or permit of stay possessed by a large percentage of foreigners living in Portugal would not be sufficient. If the parents were not from a Lusophone country, the minimum period of residence was increased from six year to 10 years. A person married to a Portuguese citizen was now required to be married for at least three years before acquiring citizenship, and was required to carry the burden of proof of showing an effective link to the Portuguese community. Organic Law 1/2004 To reduce the effects of some earlier legislation on Portuguese emigrant communities, the law removed the power of the government to oppose reacquisition of nationality, made acquisition of Portuguese citizenship automatic if the loss of nationality had not been registered, and made reacquisition retroactive to the date of loss. That opened the doors for children born abroad of Portuguese emigrants to more easily acquire citizenship by descent. Organic Law 2/2006 The election of a Socialist Party-led government in 2005 led gave rise to the passage of a bill to modernize Portuguese nationality law, in recognition of the impact of years of immigration into the country. The objectives were to integrate second- and third- generation immigrants who did not have citizenship, to comply with judicial and legal demands that the nationality law be consistent with the European Convention of Nationality and its non-discrimination clauses, and to lessen confusion of outdated wording and definitions that relied on simple regulation instead of law. To do so, the law eliminated some requirements for naturalisation (such as proving a link to the Portuguese community and minimum subsistence requirements), clarified others (changing ambiguous requirements of moral and social behavior