Under most state laws, harassment is a type of discrimination. The same laws that prohibit discrimination on the basis of protected characteristics (such as race, gender, religion and so on) also prohibit harassment on the basis of those characteristics.