(CNN) Federal authorities have officially dismissed criminal charges against former Rep. Aaron Schock, six months after he reached a deal with federal prosecutors.

Northern District of Illinois Assistant US Attorney Joseph Fitzpatrick told CNN that the court granted their motion to dismiss the charges, which included alleged fraud and theft of government funds, against the Illinois Republican.

In March, federal prosecutors offered Schock a deferred prosecution agreement if he agreed to pay more than $40,000 in back taxes, reimburse his campaign committees approximately $68,000 and avoid any future legal problems.

"Mr. Schock has complied with the terms of the deferred prosecution agreement," Fitzpatrick told CNN Wednesday.

Schock was charged in a federal spending scandal and indicted on fraud charges in November 2016.

Read More