URBANA, Ill. (AP) — Illinois basketball player Kendrick Nunn has pleaded guilty to misdemeanor battery in a deal that eventually could see his record cleared.

Champaign County State’s Attorney Julia Rietz said the 20-year-old Nunn pleaded guilty Wednesday. He was initially charged with two counts of domestic battery after being accused in March of striking a woman during a domestic dispute.

READ MORE: 3 Men Injured In River North Parking Garage Shooting, One Identified In Video As Rapper Lil Reese; Officer's Gun Also Accidentally Discharged

Rietz said Nunn was sentenced to 18 months of unsupervised probation and 100 hours of community service. If he completes those terms the misdemeanor will be removed from his record.

READ MORE: At Least 29 People Wounded In Weekend Gun Violence In Chicago, 5 Killed

Rietz said the deal made sense because Nunn took responsibility for his actions and had no prior record. The victim approved of the arrangement.

Nunn is a sophomore guard. He was suspended from the basketball team but remains in school.

MORE NEWS: MISSING: Kyrin Carter, 12, Has Autism, Last Seen In Hammond, Indiana

Copyright 2016 The Associated Press.