A federal judge in Chicago on Wednesday sentenced former House Speaker Dennis Hastert to two years of supervised release in his hush money case.

Dennis Hastert faced sentencing on Wednesday, April 27, 2016 by a federal judge in Chicago, Illinois.

CNN initially reported that Hastert was sentenced to serve two years of supervised release in his hush money case.

Less than an hour later, the Associated Press reported that Hastert was sentenced to serve 15 months in prison. Judge Thomas M. Durkin announced that Hastert would also have to undergo sex offender treatment, two years of supervised release after his time behind bars and a $250,000 fine to go to a crime victims fund.

Hastert surrender date will be set once prison is determined. Not meant to be a death sentence Judge says. @WGNNews — Erik Runge (@WGNErik) April 27, 2016

He pleaded guilty last fall to violating banking law as he sought to pay someone referred to as Individual A $3.5 million to keep sex abuse secret.

Before he sentenced Hastert, Durkin described the 74-year-old Illinois Republican as a "serial child molester," and that "accusing Individual A of extorting you was unconscionable."

He was the nation's longest-serving GOP speaker and was second in the line of succession to the presidency.