(A) Authority The Attorney General may cancel removal of, and adjust to the status of an alien lawfully admitted for permanent residence, an alien who is inadmissible or deportable from the United States if the alien demonstrates that
(i)
(I) the alien has been battered or subjected to extreme cruelty by a spouse or parent who is or was a United States citizen (or is the parent of a child of a United States citizen and the child has been battered or subjected to extreme cruelty by such citizen parent);
(II) the alien has been battered or subjected to extreme cruelty by a spouse or parent who is or was a lawful permanent resident (or is the parent of a child of an alien who is or was a lawful permanent resident and the child has been battered or subjected to extreme cruelty by such permanent resident parent); or
(III) the alien has been battered or subjected to extreme cruelty by a United States citizen or lawful permanent resident whom the alien intended to marry, but whose marriage is not legitimate because of that United States citizens or lawful permanent residents bigamy;
(ii) the alien has been physically present in the United States for a continuous period of not less than 3 years immediately preceding the date of such application, and the issuance of a charging document for removal proceedings shall not toll the 3-year period of continuous physical presence in the United States;
(iii) the alien has been a person of good moral character during such period, subject to the provisions of subparagraph (C);
(iv) the alien is not inadmissible under paragraph (2) or (3) of section
1182 (a) of this title, is not deportable under paragraphs (1)(G) or (2) through (4) of section
1227 (a) of this title, subject to paragraph (5), and has not been convicted of an aggravated felony; and
(v) the removal would result in extreme hardship to the alien, the aliens child, or the aliens parent.
(B) Physical presence Notwithstanding subsection (d)(2) of this section, for purposes of subparagraph (A)(ii) or for purposes of section
1254 (a)(3) of this title (as in effect before the title IIIA effective date in section 309 of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996), an alien shall not be considered to have failed to maintain continuous physical presence by reason of an absence if the alien demonstrates a connection between the absence and the battering or extreme cruelty perpetrated against the alien. No absence or portion of an absence connected to the battering or extreme cruelty shall count toward the 90-day or 180-day limits established in subsection (d)(2) of this section. If any absence or aggregate absences exceed 180 days, the absences or portions of the absences will not be considered to break the period of continuous presence. Any such period of time excluded from the 180-day limit shall be excluded in computing the time during which the alien has been physically present for purposes of the 3-year requirement set forth in this subparagraph, subparagraph (A)(ii), and section
1254 (a)(3) of this title (as in effect before the title IIIA effective date in section 309 of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996).
(C) Good moral character Notwithstanding section
1101 (f) of this title, an act or conviction that does not bar the Attorney General from granting relief under this paragraph by reason of subparagraph (A)(iv) shall not bar the Attorney General from finding the alien to be of good moral character under subparagraph (A)(iii) or section
1254 (a)(3) of this title (as in effect before the title IIIA effective date in section 309 of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996), if the Attorney General finds that the act or conviction was connected to the aliens having been battered or subjected to extreme cruelty and determines that a waiver is otherwise warranted.