(a) Exclusion from gross income

In the case of any wrongfully incarcerated individual, gross income shall not include any civil damages, restitution, or other monetary award (including compensatory or statutory damages and restitution imposed in a criminal matter) relating to the incarceration of such individual for the covered offense for which such individual was convicted.

(b) Wrongfully incarcerated individual

For purposes of this section, the term “wrongfully incarcerated individual” means an individual—

(1) who was convicted of a covered offense,

(2) who served all or part of a sentence of imprisonment relating to that covered offense, and

(3)(A) who was pardoned, granted clemency, or granted amnesty for that covered offense because that individual was innocent of that covered offense, or

(B)(i) for whom the judgment of conviction for that covered offense was reversed or vacated, and

(ii) for whom the indictment, information, or other accusatory instrument for that covered offense was dismissed or who was found not guilty at a new trial after the judgment of conviction for that covered offense was reversed or vacated.

(c) Covered offense

For purposes of this section, the term “covered offense” means any criminal offense under Federal or State law, and includes any criminal offense arising from the same course of conduct as that criminal offense.