CHICAGO (AP) — The Illinois attorney general’s office has reached consent decrees with four companies, including a temporary staffing agency, to resolve allegations of workplace segregation and sex discrimination in hiring.

DSI Holdings Corp., the parent of Service Master; Alternative Staffing Inc. and Resource Management Group Inc., which operate jointly, and two other companies agreed Thursday to pay a total of $280,000 in penalties to resolve the allegations.

In a statement, Attorney General Kwame Raoul said the companies didn’t do much to hide their discriminatory hiring practices by assigning positions based on gender stereotypes about the work women can perform. Nathaniel Reinsma of DSI Holdings said the company agreed to the consent decree to resolve the issue.