Updated

An attorney says both sides have reached a settlement in a lawsuit involving a teenager who says she was raped after a school worker tried to use her as bait to catch an alleged sexual predator.

Al.com reports (bit.ly/1UdsZxV) that Eric Artrip, an attorney for the girl's guardian, said the agreement means claims against Madison County school officials would be dismissed in exchange for money. Artrip said the amount is confidential.

Evidence shows a teacher's aide asked the then-14-year-old girl to go into a bathroom at Sparkman Middle School so a 16-year-old eighth-grader with a history of sexual harassment could be caught trying to have sex with her and disciplined.

The plan backfired and the girl later said she was sexually assaulted in a bathroom stall.