In August, the 24-year-old was convicted of being a felon, a drug addict and a fugitive in possession of a handgun in relation to the shootout, which left a SWAT Team member seriously wounded.
The 10-year sentence is the maximum the judge could issue and Virgil must also pay a $200,000 fine.
The sentencing stems from a Jan. 2004 raid on an apartment in Memphis. When SWAT Team members entered the apartment seeking drugs and weapons, they were greeted with gunfire.
Virgil has maintained his innocence and denied being in a closet or firing a 9mm handgun that was found in the closet.
The rapper apologized to the officer that was shot, asking for forgiveness.
The apology brought more scrutiny from prosecutors, who believed the apology was an admission of guilty.
No Comment