The state Department of Corrections and Rehabilitation has agreed to pay $50,000 to settle a sexual harassment complaint filed on behalf of a cook at a youth facility.

The complaint, filed in July, alleges that Joe Cummings was sexually harassed by a female co-worker at the Ventura Youth Correctional Facility for over a year and says the department failed to end the harassment quickly.

Cummings and other employees said they complained repeatedly, without result.