In any suit brought against a defendant, to the extent that a defendant has met the standards set forth under section 11112(a) of this title and the defendant substantially prevails, the court shall, at the conclusion of the action, award to a substantially prevailing party defending against any such claim the cost of the suit attributable to such claim, including a reasonable attorney’s fee, if the claim, or the claimant’s conduct during the litigation of the claim, was frivolous, unreasonable, without foundation, or in bad faith. For the purposes of this section, a defendant shall not be considered to have substantially prevailed when the plaintiff obtains an award for damages or permanent injunctive or declaratory relief.
(Pub. L. 99–660, title IV, § 413, Nov. 14, 1986, 100 Stat. 3787.)