Joshua W. Marksberry, 34, of Ingleside.

An Ingleside man has been sentenced to seven years in prison after he violated probation, which he was on for battering a police officer in McHenry County.

Joshua W. Marksberry, 34, of the 28400 block of West Treetop Road in Ingleside, was charged on September 19, 2015, with aggravated battery of a peace officer, a Class 2 felony.

The incident occurred when a Prairie Grove police officer in McHenry County pulled over Marksberry for driving under the influence of alcohol.

Marksberry struck the officer in the face and leg, according to a grand jury indictment.

Prosecutors reached a negotiated plea deal with Marksberry for 76 days in the county jail, two years of probation, and drug and alcohol treatment.

Marksberry received 104 days of credit for time served in the county jail awaiting his sentencing so he was released on probation.

[Suggested Article]  50 days in jail for drunk driver who fled from rollover crash that left victim injured, trapped near McHenry

During his probation period, Marksberry was charged in Lake County with attempted murder and aggravated battery on July 14, 2017.

The attempted murder charge was later dismissed and he was sentenced to 14 years in the Illinois Department of Corrections on the aggravated battery charge.

McHenry County Judge Michael Coppedge re-sentenced Marksberry on Thursday to 7 years in prison for violating the probation on his 2015 conviction of aggravated battery of a peace officer.

Both of his sentences will be served concurrently.

The McHenry County case was investigated by members of the Prairie Grove Police Department and prosecuted by Robert Ladd of the McHenry County State’s Attorney’s Office.