LANCASTER, Wis. -

The Grant County sheriff's deputy who was accused of striking his child with a belt pleaded no contest Tuesday under a deal with the prosecution.

Vance D. VanKirk, 47, of Platteville received deferred prosecution, which means if he doesn't violate a set of conditions for 15 months, the district attorney will dismiss the felony charge of child abuse recklessly causing harm from the incident on May 17.

As part of the deal, VanKirk had to plead not contest to the charge, cannot violate any laws, cooperate with social services and notify the court of an address change.

VanKirk resigned from the sheriff's office last week. His last day with the agency is Saturday, Sheriff Nate Dreckman said.