[excerpt]
IMMIGRATION AND NATIONALITY ACT[…..]
Sec. 240A.1/(a) Cancellation of Removal for Certain Permanent Residents.-The Attorney General may cancel removal in the case of an alien who is inadmissible or deportable from the United States if the alien-
(1) has been an alien lawfully admitted for permanent residence for not less than 5 years,
(2) has resided in the United States continuously for 7 years after having been admitted in any status, and
(3) has not been convicted of any aggravated felony.
[…..]