; or . (c) Removal of eligibility restriction based on previous debt write-Down or other loss Section 373 of the Consolidated Farm and Rural Development Act ( 7 U.S.C. 2008h ) is amended— (1) in subsection (b)(2)(A)— (A) by striking clause (i); (B) in clause (ii), by striking chapters 11, 12, or 13 of Title 11 of the and inserting chapter 11, 12, or 13 of title 11, ; and (C) by redesignating clauses (ii) and (iii) as clauses (i) and (ii), respectively; and (2) by striking subsection (c) and inserting the following: (c) Prohibition on eligibility restriction based on debt write-Down or other loss The Secretary shall not restrict the eligibility of a borrower for a farm ownership or operating loan under subtitle A or B based on a previous debt write-down or other loss to the Secretary. . (d) Equitable relief Section 366 of the Consolidated Farm and Rural Development Act ( 7 U.S.C. 2008a ) is amended— (1) in subsection (a)— (A) in paragraph (1), by striking (1) received and inserting (1)(A) received ; (B) in paragraph (2)— (i) by striking the period at the end and inserting ; or ; and (ii) by striking (2) the Secretary and inserting (B) the Secretary ; and (C) by adding at the end the following: (2) (A) received a benefit under any other program administered by an agency (as defined in section 271 of the Department of Agriculture Reorganization Act of 1994 ( 7 U.S.C. 6991 )); and (B) the Secretary determines is not in compliance with the requirements of the provisions of law that authorize that program. ; (2) in subsection (b)(2), by inserting , including having made management or financial decisions for the farming or ranching operation of the farmer or rancher that were detrimental due to the erroneous nature of an official communication from the Department of Agriculture, regardless of whether a financial benefit was received or only promised before the period at the end; (3) in subsection (c)(1), by striking (a)(2) and inserting (a)(1)(B)