In a historic decision, the U.S. Equal Employment Opportunity Commission has ruled that all job discrimination based on sexual orientation is a form of sex discrimination under Title VII of the Civil Rights Act of 1964.

The 3-2 decision, dated July 16, does what Congress and most courts so far have refused to do: ban discrimination against gays in the workplace. Until now only a handful of states and municipalities have done so.