On 8 May 2000, the Icelandic Parliament approved amendments to the registered partnership law in a vote of 49–1. Foreigners could enter into a registered partnership if they had been residing in Iceland for at least two years. Another amendment allowed for a person in a registered partnership to adopt the biological child of his or her partner, unless the child was adopted from a foreign country. Iceland became the second country in the world, after Denmark, to grant same-sex couples some adoption rights.