(Reuters) - Alabama’s powerful Republican state house speaker was indicted on 23 criminal counts of corruption by a grand jury, court records released on Monday show.

Mike Hubbard, who helped guide Republicans to majorities in both houses of the Alabama legislature in 2010 for the first time in 136 years, was indicted on Friday on charges that include using his office for personal gain and legislating with a conflict of interest.

According to the indictment, handed down by a grand jury in Lee County, Hubbard solicited favors from a range of powerful Alabamans, including former Governor Bob Riley, a fellow Republican, along with several business leaders.

The charges are all Class B felonies, which under state law each carry a maximum penalty of 20 years in prison and a $30,000 fine.

Speaking on Monday outside the Lee County Jail, where Hubbard was booked, Mark White, his attorney, said Hubbard would fight the charges, the Alabama Media Group reported.

“We’ll be ready to fire back,” White said, according to the news organization.

White did not immediately respond to messages seeking comment.