The hijab has been compulsory for women in Iran since the 1979 Islamic Revolution and the morality police are charged with enforcing that and other restrictions. Iranian women have full access to education, work outside the home and hold public office. But they are required to dress modestly in public, which includes wearing the hijab as well as long, loose-fitting robes.