Barnes v. Train (1974) is commonly viewed as the first sexual harassment case in America, even though the term "sexual harassment" was not used. The case involved Paulette Barnes, a payroll clerk who worked for the Environmental Protection Agency. Barnes brought the case after losing her job for refusing the advances of a male supervisor. The case was initially dismissed, but won on appeal in Barnes v. Costle (1977). The case helped set a precedent that sexual harassment leading to the loss of tangible job benefit is illegal because it involves discrimination based on gender.