; or (B) any person or entity adversely affected by the designated violation. (2) Designated violation The term designated violation means an actual or threatened violation of— (A) section 245 or 245A of this Act; or (B) any of subsections (b) through (e) of section 401 of the Health Programs Extension Act of 1973 regarding an objection to abortion. (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 available administrative remedies. (d) Defendants in actions under this section may include governmental entities as well as others (1) In general An action under this section may be maintained against, among others, a party that is a Federal or State governmental entity. Relief in an action under this section may include money damages even if the defendant is such a governmental entity. (2) Definition For the purposes of this subsection, 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. (e) Nature of relief In an action under this section, the court shall grant— (1) all necessary equitable and legal relief, including, where appropriate, 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