The state has agreed to pay $2.35 million to settle a lawsuit filed by a woman who alleged that two state agencies failed to protect her from a sex offender who abused her when she was a child. The Superior Court lawsuit alleged that a paroled child rapist named Danny Dorosky Sr. was allowed to live with the victim’s family. The victim, then just 10-years-old, said Dorosky repeatedly raped her. The woman’s suit alleged that the state Corrections Department knew Dorosky posed a danger to children. She also contended that the Department of Social and Health Services’ Child Protective Services failed to protect her after school officials in Shelton reported the girl might be a sexual abuse victim. According to court documents, when Dorosky was released from prison in 1989 after raping two children, the parole board directed the DOC to conduct regular lie detector tests every 90 days and make sure he wasn’t in contact with any children. But the DOC never did. The woman’s lawyers say Dorosky was on parole in 1990 when the abuse began. After the victim’s father contacted law enforcement about the man in 1993, Mason County officials eventually arrested Dorosky. He was convicted of child molestation and rape. He died in 2004.