Prosecutors said David Bush and another man tried to rob the officer at his Roseland home.
The officer fired his own gun, but was hit with several rounds by the offenders. He survived the attack.
2 charged in shooting of off-duty Oak Park police officer
Charges against Bush include numerous counts of attempted murder and attempted armed robbery. He was convicted in October.
Another man, Taiwan McNeal pleaded guilty to attempted armed robbery and was sentenced to eight years.