; and (2) by striking (a) In general .—Upon and inserting the following: Upon . 5. Restoring Federal Pell Grant eligibility for borrower defense Section 401(c)(5) ( 20 U.S.C. 1070a(c)(5) ) is amended— (1) by striking (5) The period and inserting the following: (5) Maximum period .— (A) In general Except as provided in subparagraph (B), the period ; and (2) by adding at the end the following: (B) Exception (i) In general Any Federal Pell Grant that a student received during a period described in subclause (I) or (II) of clause (ii) shall not count towards the student’s duration limits under this paragraph. (ii) Applicable periods Clause (i) shall apply with respect to any Federal Pell Grant awarded to a student to attend an institution— (I) during a period— (aa) for which the student received a loan under this title; and (bb) for which the loan described in item (aa) is forgiven under— (AA) section 437(c)(1) or 464(g)(1) due to the closing of the institution; (BB) section 455(h) due to the student’s successful assertion of a defense to repayment of the loan; or (CC) section 432(a)(6), section 685.215 of title 34, Code of Federal Regulations (or a successor regulation), or any other loan forgiveness provision or regulation under this Act, as a result of a determination by the Secretary or a court that the institution committed fraud or other misconduct; or (II) during a period for which the student did not receive a loan under this title but for which, if the student had received such a loan, the student would have qualified for loan forgiveness under subclause (I)(bb). . 6. Federal Pell Grant eligibility for DREAMer students Section 484 ( 20 U.S.C. 1091 ) is amended— (1) in subsection (a)(5), by inserting , or be a Dreamer student, as defined in subsection (u) after becoming a citizen or permanent resident