Mike Hubbard looks at family and friends sitting in the courtroom as deputies wait to take Hubbard into custody on Friday, June 10, 2016 in Opelika, Ala. (Todd J. Van Emst/Opelika-Auburn News via AP, Pool

Former Alabama House Speaker Mike Hubbard has been sentenced to prison.

Hubbard was sentenced to a total of four years in prison, eight years on probation ordered to pay a $210,000 fine on 12 felony ethics violations.

Circuit Judge Jacob Walker handed down the sentence at a hearing in his Opelika courtroom.

Hubbard remains out on bond.

Hubbard’s attorney, Bill Baxley, called the conviction a “witch hunt” and said it would be appealed.

Walker sentenced Hubbard after hearing from several character witnesses who argued against incarceration, including U.S. Rep. Mike Rogers, R-Saks.

A Lee County jury convicted Hubbard on June 10 on 12 felony violations of the state ethics law, finding that he used his powerful political office to illegally make $1.1 million in investments and income for his businesses.

Each of the 12 charges was a Class B felony, punishable by two to 20 years in prison.

Walker read a separate sentence on each charge. All were split sentences ranging from five to 10 years, with up to two years of incarceration and the rest on probation. All were to run concurrently, except for one two year sentence which was consecutive.

Prosecutors had asked Walker for a sentence of five years in prison, followed by 13 years of probation and the maximum $360,000 in fines.

They also asked Walker to order Hubbard to pay $1.1 million in restitution and $120,000 to the state’s crime victims compensation fund.

Walker did not order any restitution and ordered a lesser total amount to the crime victim’s fund that prosecutors sought.

Walker offered Hubbard a chance to speak in court today, but Hubbard declined.