RICHMOND, Va. — A Virginia man who has fathered children with several women has agreed to get a vasectomy to reduce his prison term by up to five years in a child endangerment case that has evoked the country’s dark history of forced sterilization.

None of the charges against Jessie Lee Herald, 27, involved a sexual offense. Shenandoah County assistant prosecutor Ilona White said her chief motive in making the extraordinarily unusual offer was keeping Herald from fathering more than the seven children he has by at least six women.

“He needs to be able to support the children he already has when he gets out,” she said, adding that Herald and the state both benefit from the deal, first reported by the Northern Virginia Daily.