Former Illinois Gov. Rod Blagojevich was convicted Monday of nearly all of the 20 charges of corruption that had been brought against him.

A jury found Blagojevich guilty of 17 out of the 20 charges brought against him. He was acquitted on one count of bribery and the jury was unable to reach verdicts on two counts of attempted extortion, CNN reported.

Blagojevich was found guilty of wire fraud, attempted extortion, bribery, bribery conspiracy and extortion conspiracy.

The 54-year-old Democrat was taken into federal custody in Dec. 2008, and was indicted by a federal grand jury in April 2009. The former governor was accused of trying to sell the Senate seat vacated when  President Barack Obama took office at the White House.

Jurors deadlocked on 23 of the 24 charges against Blagojevich last August after a months-long trial.

Blagojevich faces up to 300 years in prison.

[CNN]