On June 24, 2017, Todd Kraft came over to hang out with a friend, Jeremy Robbins, at his home on Schell Lane in North Hopewell Township.

The power was out. So the men drank some beer — they weren’t drunk — and took turns firing a 9 mm handgun downhill at bottles and cans that were on top of a hot tub. There were no barriers to stop the bullets.

Meanwhile, Charles Folcomer, who served as head roadway master for North Hopewell Township, was driving a Jeep Comanche nearby on Myers School Road, looking for downed trees and power lines.

That’s when a bullet from the target shooters went through the passenger-side window of the vehicle. His wife, Nancy Folcomer, died of a gunshot wound to the chest. She was 55.

On Monday, Kraft, 44, of York, and Robbins, 23, of North Hopewell Township, accepted responsibility for their actions. They pleaded guilty to criminal conspiracy to commit recklessly endangering another person and related crimes in the case.

RELATED:'You can't get the bullet back,' NRA instructor warns after fatal shooting in southern York County

Prosecutors agreed to drop charges of involuntary manslaughter and place caps on the maximum sentences in the cases.

In an interview, First Assistant District Attorney Tim Barker said accidents and mistakes can happen even when people take reasonable steps before target shooting.

But that’s not what happened. Instead, Barker said, the men took no precautions.

"They were target shooting. But there was nothing other than sheer nature and happenstance that was going to stop that bullet once it traveled," Barker said. "You have a responsibility to take reasonable steps to keep the public safe."

CHECK OUT:Mapped: York County homicides in 2018 and previous years back to 2007

Under the plea agreement, Kraft faces a maximum sentence of six to 23 months in York County Prison. Robbins could be ordered to serve as much as one year minus one day to two years minus two days.

Common Pleas Judge Harry M. Ness said he was not bound by the caps outlined in the plea agreement. But he said the men could withdraw their guilty pleas if he imposes a higher sentence.

Barker said both men were responsible in the case. But prosecutors took their extent, nature and involvement with target shooting at the property into account.

Kraft, he said, had twice visited and shot targets at the home. On the other hand, Robbins lived at the property, possessed the handgun and the ammunition and did so on more occasions.

MORE CRIME NEWS:Woman shot in leg at York neighborhood cookout, police say

Chris Ferro, Kraft’s attorney, described the case as a "terrible tragedy."

"There’s no one who’s more remorseful for what happened than my client," Ferro said. "However, this terrible tragedy was a simple mistake without malice or bad intent."

Ferro said he hopes the judge will be able to come up with a sentence that factors in his client's remorse, acceptance of responsibility and limited culpability.

Outside the courtroom, Korey Leslie, Robbins’ attorney, declined to be interviewed prior to sentencing.

Kraft and Robbins are set to be sentenced on Nov. 25. They’re each free on $10,000 unsecured bail.

Contact Dylan Segelbaum at 717-771-2102.

Check out this photo gallery of York County's most wanted: (The photos and information published are provided by the York County Sheriff's Office. To report information on any of these individuals, call York County Crime Stoppers at 717-755-TIPS.)