Seven black workers who said they were subjected to hangman’s nooses in a racially hostile environment on an offshore oil rig will share in a $290,000 settlement of a discrimination lawsuit filed in Mississippi, federal officials announced Thursday.

The settlement announced by the U.S. Equal Employment Opportunity Commission resolved a suit filed against Tulsa, Okla.-based Helmerich & Payne International Drilling Co. for racial harassment on a rig in the Gulf of Mexico.