CONCORD, N.H. (AP) — The state will pay $1.9 million to 30 female inmates and a corrections employee who accused a former prison sergeant of raping or harassing them, state officials said Friday.

The former guard, Douglas Tower, is serving 20 to 40 years in prison after being convicted last year of six counts of rape and sexual assault on a female inmate he supervised at the Shea Farm halfway house in Concord, and of grabbing another inmate by the neck.

Tower and the corrections department faced eight lawsuits filed by a group of inmates and a worker alleging misconduct ranging from inappropriate comments to rape.