where it is inflicted on an alien (or a child of an alien) by the alien’s United States citizen or lawful permanent resident spouse, parent, child, son, or daughter. . (b) Waiver for aliens previously removed (1) Certain aliens previously removed Section 212(a)(9)(A) ( 8 U.S.C. 1182(a)(9)(A) ) is amended by adding at the end the following: (iv) Waiver authorized For provision authorizing waiver of clause (i) or (ii), see subsection (d)(13). . (2) Aliens unlawfully present Section 212(a)(9)(B)(v) (8 U.S.C. 1182(A)(9)(B)(v)) is amended to read as follows: (v) Waiver authorized For provision authorizing waiver of clause (i), see subsection (d)(13). . 811. Restoration of suspension of deportation (a) Cancellation of removal Section 240A(a)(3) ( 8 U.S.C. 1229b(a)(3) ) is amended to read as follows: (3) has not been convicted of an aggravated felony for which the sentence imposed is five years or more. . (b) Repeal of rule for termination of continuous period (1) Section 240A(d)(1) ( 8 U.S.C. 1229b(d)(1) ) ( 8 U.S.C. 1229b(a) ) is repealed. (2) Section 240A(d) ( 8 U.S.C. 1229b ) is amended— (A) by redesignating paragraphs (2) and (3) as paragraphs (1) and (2), respectively