Wisconsin state Rep. Bill Kramer (R) was sentenced to five months in prison on Tuesday after he was charged with two counts of sexual assault, the Milwaukee Journal Sentinel reported.

Outside a Republican Party event in Musekgo, Wis., in 2011, Kramer allegedly shoved a woman against a car, groped and kissed her, and made lewd comments, as she told him to stop and tried to free herself from his grip.

Kramer plead no contest to the charges last month so that they would be reduced to misdemeanors, according to the Journal Sentinel.

Kramer will go to jail for five months with work release privileges and will serve three years of probation. The judge also ordered him to get sex offender and alcohol assessments, but Kramer will not need to register as a sex offender.

Wisconsin Assembly Republicans stripped Kramer of his role as majority leader in March following a separate sexual harassment incident. He allegedly harassed two women at a fundraiser in March. At least one woman accused him of groping her and making inappropriate remarks.

Kramer did not run for reelection and will be replaced on Jan. 5, but he will be able to serve out her term in the state assembly, according to the Journal Sentinel.