In the United States, Rule 11 of the Federal Rules of Civil Procedure and similar state rules require that an attorney perform a due diligence investigation concerning the factual basis for any claim or defense. Jurisdictions differ on whether a claim or defense can be frivolous if the attorney acted in good faith. Because such a defense or claim wastes the court's and the other parties' time, resources and legal fees, sanctions may be imposed by a court upon the party or the lawyer who presents the frivolous defense or claim.