; or (B) any funding condition imposed by the Federal Government pursuant to such section 507(d) (or such provision). (2) Qualified party The term qualified party means— (A) the Attorney General of the United States; (B) any attorney general of a State; or (C) any person or entity adversely affected by the designated violation without regard to whether such person or entity is a health care provider. (3) State governmental entity The term State governmental entity means a State, a local government within a State, and any agency or other governmental unit or subdivision of a State, or of such a local government. (c) Administrative remedies not required An action under this section may be commenced, and relief may be granted, without regard to whether the party commencing the action has sought or exhausted any available administrative remedies. (d) Defendants An action under this section may be maintained against a Federal agency committing a designated violation described in subsection (b)(1)(A) or any recipient or subrecipient of Federal assistance committing a designated violation described in subsection (b)(1)(B), including a State governmental entity. (e) Nature of relief In an action under this section, the court shall grant— (1) all appropriate relief, including injunctive relief, declaratory relief, and compensatory damages to prevent the occurrence, continuance, or repetition of the designated violation and to compensate for losses resulting from the designated violation