Chicago (CNN) Federal prosecutors have agreed to drop 24 felony counts against disgraced former US Rep. Aaron Schock if the Illinois Republican agrees to pay back taxes and reimburse his campaign committees.

In court Wednesday, US District Judge Matthew Kennelly read many of the offenses Schock had been accused of, including submitting vouchers for mileage while driving vehicles for business that exceeded the amount of miles he drove. He was also accused of obtaining tickets for the World Series and Super Bowl at face value then selling them for a profit.

As part of the agreement, Schock has agreed to pay more than $40,000 in back taxes to the Internal Revenue Service that he failed to report over a six-year period. Schock also agreed to pay back his campaign committees approximately $68,000.

Schock for Congress also pleaded guilty to one count of failing to properly report expenses, a misdemeanor.

Kennelly also mandated that Schock avoid any future legal problems.

Read More