The Discrimination Act of 1975 was modified to establish sexual harassment as a form of discrimination in 1986. It states that harassment occurs where there is unwanted conduct on the ground of a person's sex or unwanted conduct of a sexual nature and that conduct has the purpose or effect of violating a person's dignity, or of creating an intimidating, hostile, degrading, humiliating or offensive environment for them. If an employer treats someone less favourably because they have rejected, or submitted to, either form of harassment described above, this is also harassment.