Under Title VII of the Civil Rights Act of 1964, employers are prohibited from discriminating against people on the basis of a number of protected groups: race, religion, color, national origin, or sex. Sexual harassment is considered a form of sex discrimination and therefore violates the Act.