Women in Iran discusses the history, contribution, aspects, and roles of women in Iran. Women have always played fundamental, crucial, and representative roles in the long history of Iran. Historically the traditional view of the role of a woman was that a woman would be confined to the home where they would manage a household and raise children. During the Pahlavi era there was a change in traditional attitudes towards the segregation of women, banning the veil, the right to vote, compulsory education, equal salaries for men and women, and the right to hold public office. Women were active participants in the Islamic Revolution, who like their male counterparts felt that the Shah was a puppet of the United States. Women are not equal under Iran's constitution, adopted after the Islamic Revolution in 1979 which mandates legal code adhering to Sharia law. Women under law are treated as half a man; men inherit twice what a woman would, and compensation for the death of a woman is half of a mans. Iranian law still favors men, but women are more educated and have a more visible role in life when compared to some Islamic countries like Saudi Arabia and Afghanistan. Laws also restrict the role of women, chador or the hijab is mandatory when in public, and all hair and skin except the face and hand must be covered. In Iran, women not only drive but can hold public office, and attend university.