POCATELLO, Idaho (AP) — A Chubbuck couple has had their charges in the accidental shooting death of a 5-year-old conditionally dismissed.

KIDK-TV reports in papers filed Wednesday, Rusty and Ashlee Lish were able to reach a deferred prosecution agreement with prosecutors. The terms of the deal include completion of parenting and gun safety courses, family counseling, a $28,000 payment to the child's family, among other conditions.

The couple had pleaded guilty to charges of misdemeanor injury to a child in connection with the death of Noelle Shawver. Noelle was shot by the Lishes' 5-year-old in July while visiting the couple's home. Prosecutors allege the couple left loaded firearms within reach of the children. A county prosecutor says charges against the couple could be brought back if any of the deal's terms are broken.

More From 95.7 KEZJ