(a)
Requirement for Federal financial assistance— Each applicant for Federal financial assistance shall submit an assurance to the Federal agency responsible for such assistance that all of its programs and activities will be conducted in compliance with this Act.
(b)
Approval of architectural and construction plans—
(1)
Submission— Any applicant for or recipient of Federal financial assistance for a covered dwelling unit shall submit for approval the architectural and construction plans for such unit to the State or local department or agency that is responsible, under applicable State or local law, for the review and approval of construction plans for compliance with generally applicable building codes or requirements (in this subsection referred to as the “appropriate State or local agency”).
(2)
Determination of compliance—
(A)
Enforcement actions— The enforcement actions under this subparagraph are—
(i)
reviewing any plans for a covered dwelling unit submitted pursuant to paragraph (1) and approving or disapproving such plans based upon compliance of the dwelling unit with the requirements of this Act; and
(ii)
consistent with applicable State or local laws and procedures, withholding final approval of construction or occupancy of a covered dwelling unit unless and until such compliance is determined.
(B)
Condition of Federal housing assistance— The Secretary of Housing and Urban Development may not provide any Federal financial assistance under any program administered by such Secretary to a State or unit of general local government (or any agency thereof) unless the appropriate State or local agency thereof is, in the determination of the Secretary, taking the enforcement actions under subparagraph (A).
(c)
Civil action for private persons—
(1)
Action— Any person aggrieved by an act or omission that is unlawful under this Act may commence a civil action in an appropriate United States district court or State court against any person or entity responsible for any part of the design or construction of a covered dwelling unit no later than two years after the occurrence or termination of the alleged unlawful conduct under this Act.
(2)
Liability— In any action under this subsection for a violation involving architectural or construction plans for a covered dwelling unit that were approved by the appropriate State or local department or agency—
(A)
if such approved plans violate this Act and any construction on such dwelling that violates this Act was performed in accordance with such approved plans, such State or local department or agency shall be liable for such construction in violation; and
(B)
if such approved plans comply with this Act and any construction on such dwelling violates this Act, the person or entity responsible for the construction shall be liable for such construction in violation.
(d)
Enforcement by Attorney General— Whenever the Attorney General has reasonable cause to believe that any person or group of persons has violated this Act, the Attorney General may commence a civil action in any appropriate United States district court. The Attorney General may also, upon timely application, intervene in any civil action brought under subsection (c) by a private person if the Attorney General certifies that the case is of general public importance.
(e)
Relief— In any civil action brought under this section, if the court finds that a violation of this title has occurred or is about to occur, it may award to the plaintiff actual and punitive damages, and subject to subsection (g), may grant as relief, as the court finds appropriate, any permanent or temporary injunction, temporary restraining order, or other order (including an order enjoining the defendant from violating the Act or ordering such affirmative action as may be appropriate).
(f)
Violations— For purposes of this section, a violation involving a covered dwelling unit that is not designed or constructed in conformity with the requirements of this Act shall not be considered to terminate until the violation is corrected.
(g)
Attorney’s fees— In any civil action brought under this section, the court, in its discretion, may allow the prevailing party, other than the United States, a reasonable attorney’s fee and costs.
(h)
Effect on certain sales, encumbrances, and rentals— Relief granted under this section shall not affect any contract, sale, encumbrance, or lease consummated before the granting of such relief and involving a bona fide purchaser, encumbrancer, or tenant, without actual notice of a civil action under this title.