J. Dennis Hastert, the former speaker of the House of Representatives, was released from a federal prison on Monday and moved to a Chicago halfway house where he will serve the rest of his 15-month sentence for illegally structuring bank withdrawals he used to buy the silence of a former student he sexually abused.

Justin Long, a spokesman for the Federal Bureau of Prisons, said on Tuesday that Mr. Hastert left the Federal Medical Center in Rochester, Minn., on Monday and was now under the jurisdiction of the Chicago Residential Reentry Management Office. That office provides inmates nearing their release dates with services like employment counseling, job placement and tips on managing their finances.

The location of Mr. Hastert’s halfway house is not public information, Mr. Long said. He said the former House speaker was scheduled to be released from federal custody on Aug. 16.

Mr. Hastert, 75, the longest-serving Republican House speaker in history and once one of the country’s most powerful politicians, pleaded guilty in 2015 to withdrawing $952,000 from his accounts at four banks in at least 106 separate transactions that were small enough to allow him to evade reporting requirements.