During the spree, Michael Taylor, 31, of Aurora brandished his gun when a fight broke out at a party. He threatened the lives of rival gang members and innocent bystanders, firing his gun indiscriminately on residential streets, the U.S. Justice Department said.
There were no reports of injuries, even though the spree took place on two nights, Nov. 28 and Dec. 1, 2009.
He was convicted in July of illegally possessing a firearm while having a previous felony.
U.S. District Judge Samuel Der-Yeghiayan in Chicago handed down the sentence, which was based on Taylor's past as an armed career criminal with an extensive record of felonies, many involving firearms, the department said.
Notable deaths of 2014 [PHOTOS]
Ex-Navy SEAL probed over bin Laden revelations