; and (B) the alien has been continuously physically present in the United States for a period of not less than 3 years before the date of the enactment of this section. (2) TPS aliens previously removed or departed An alien shall be eligible for adjustment of status if the alien was removed or voluntarily departed from the United States on or after September 25, 2016, if the alien— (A) applies from abroad; (B) was continuously physically present in the United States for a period of not less than 3 years before the date of removal or departure; (C) had temporary protected status on such date, or was otherwise eligible, on such date, for temporary protected status notwithstanding subsections (c)(1)(A)(iv) and (c)(3)(C) of section 244 of the Immigration and Nationality Act ( 8 U.S.C. 1254a ); and (D) the sole reason for the alien’s removal or departure was— (i) that the alien was present in the United States after the expiration of the designation of that foreign state (or part thereof) under section 244(b)(3)(B) of the Immigration and Nationality Act ( 8 U.S.C. 1254a(b)(3)(B) ); or (ii) in the case of a voluntary departure, the alien did so on the basis of the Secretary’s determination to terminate such designation. (3) DED aliens previously removed or departed An alien shall be eligible for adjustment of status if the alien was removed or voluntarily departed from the United States on or after September 28, 2016, if the alien— (A) applies from abroad; (B) is under a grant of Deferred Enforced Departure as of September 28, 2016; (C) was continuously physically present in the United States for a period of not less than 3 years before the date of removal or departure; and (D) the sole reason for the alien’s removal or departure— (i) was that the alien was present in the United States after the expiration of the deferral of enforced departure directed in the Presidential Memorandum on Deferred Enforced Departure for Liberians issued on September 28, 2016, or any subsequent extension of such deferral