Before the 21st century, citizenship laws discriminated significantly against women. In a 1982 referendum, the women of San Marino did not win the right to retain their Sammarinese citizenship if they married male foreigners (19,000 Sammarinese voters voted to not abolish the 1928 law that striped Sammarinese women of Sammarinese citizenship if they married foreigners); as a result of losing Sammarinese citizenship, the women also lost the right to vote, to work, to own property, to reside in, and to inherit property in the Republic of San Marino.[3] These laws were later changed; in 2000 the parliament passed a new citizenship law abolishing the previous citizenship law, under which a woman who married a foreigner could not transmit citizenship to her husband or children;[4] and in 2004, new laws stipulated that all women who were San Marino citizens transmitted their own citizenship to their children at birth.[5]