Former U.S. House of Representatives Speaker Dennis Hastert arrives for an appearance in federal court in Chicago June 9, 2015.

Former House Speaker Dennis Hastert will plead guilty in his hush-money case, resolving charges he lied to the FBI about bank withdrawals — money allegedly used as payoffs to keep sexual misconduct accusations under wraps.

The politician, who was not in the Chicago federal courtroom where the agreement was announced Thursday, will appear on Oct. 28 to enter a plea, his attorney said.