OPINION
Appellants (Borrowers) challenge the trial court’s order granting summary judgment in favor of Western Farm Credit Bank (the Bank). We reverse and remand.
FACTS
In December 1980, the Bank loaned Borrowers $345,000 and received, in exchange, a promissory note and a mortgage on Borrowers’ farm in Duchesne County, Utah. In 1987, Borrowers began negotiations with the Utah Division of Water Resources (the Division) for an interest-free loan to make improvements on their farm. As a condition for the loan, the Division required Borrowers to pledge shares of stock in the irrigation company in which they held water rights. The Bank refused to release its interest in Borrowers’ water rights, even though the loan from the Division would have reduced Borrowers' obligation to the Bank by $212,000.
In February 1988, the Bank notified Borrowers that they were in default on their obligation and that if the default was not cured immediately the Bank would commence foreclosure proceedings. Borrowers applied for a restructuring of their debt under the Agricultural Credit Act (the Act). See 12 U.S.C. § 2202a (1989). The Bank denied Borrowers’ application. Borrowers appealed to the Credit Review Committee, which affirmed the Bank’s denial of Borrowers’ restructuring application.
In May 1989, after Borrowers failed to cure their default, the Bank commenced this foreclosure action in district court. Borrowers asserted various equitable defenses in their amended answer, including the defense that the Bank’s failure to comply with the Act should preclude any foreclosure proceedings.
The Bank brought a motion for summary judgment. In opposition to the Bank’s motion, Borrowers specifically raised several defenses and incorporated by reference the equitable defenses raised in their amended answer. Borrowers also incorporated by reference an affidavit from Jessup Van Tassell submitted with their amended answer. In his affidavit, Mr. Van Tassell discussed how the Bank allegedly failed to comply with provisions of the Act. The trial court denied the Bank’s motion.
After a second period of discovery, the Bank filed a second motion for summary judgment. In opposition to the Bank’s motion, Borrowers again incorporated all prior pleadings by reference. The trial court granted the Bank’s second motion for summary judgment. In granting summary judgment, the trial court did not address Borrowers’ equitable defenses to foreclosure. This appeal followed.
ISSUES
Borrowers raise the following issues on appeal: (1) whether the trial court erred in failing to recognize a state common law private right of action for a lender’s violation of the Act; (2) whether the trial court erred in failing to recognize a federal private right of action for a lender’s violation of the Act; (3) whether the trial court erred in granting the Bank’s motion for summary judgment by failing to consider the Bank’s alleged violations of the Act as an equitable defense to foreclosure proceedings; and (4) whether the trial court erred by ruling, as a matter of law, that the Bank’s actions did not constitute bad faith.
STANDARD OF REVIEW
Summary judgment is appropriate only when there are no genuine issues of material fact and the moving party is entitled to judgment as a matter of law.
Ron Case Roofing & Asphalt Paving, Inc. v. Blomquist,
ANALYSIS
Private Rights of Action
Borrowers argue that the trial court erred in granting the Bank’s motion for summary judgment by not recognizing a federal or state common law cause of action. Borrowers did not, however, raise these issues before the trial court. We are governed by the general principle that we may not address issues that are raised for the first time on appeal.
See Ong Intern. (U.S.A.) v. 11th Ave. Corp.,
Equitable Defense
Borrowers next claim that the trial court erred in granting the Bank’s motion for summary judgment, because factual issues remain as to the Bank’s alleged failure to comply with the Act. The Bank argues that because Borrowers did not specifically raise this as an equitable defense in opposition to the Bank’s motion for summary judgment, they cannot raise it on appeal. We disagree. Borrowers included this equitable defense in their amended answer to the Bank’s complaint and incorporated it by reference into their memorandum in opposition to the Bank’s motion for summary judgment. Thus, the Bank and the trial court were on notice that Borrowers were relying, on a defense first asserted in their amended answer.
See Valley Bank & Trust Co. v. Wilken,
The question of whether, in a foreclosure action, a borrower may raise the equitable defense of a bank’s noncompli-anee with the Act is an issue of first impression in this state. Most jurisdictions that have addressed this issue have concluded that such an equitable defense is available in foreclosure actions.
See, e.g., Federal Land Bank of Spokane v. L.R. Ranch Co.,
*379
In
L.R. Ranch Co.,
the Ninth Circuit concluded that, while the Act does not create a private right of action, it does afford a borrower the right to assert a bank’s noneompliance with the Act as an equitable defense in foreclosure proceedings.
Id.
In
Overboe,
the North Dakota Supreme Court held, that- while no private right of action exists for a lender’s noncompliance with the Act, the Act may provide an equitable defense to foreclosure proceedings.
[j]ust as the HUD regulations were issued in furtherance of national housing goals, the administrative forbearance regulation at issue in this case was adopted ... in furtherance of ... fostering agricultural development- Allowing [the bank] to foreclose mortgages without regard to the administrative forbearance regulation would be inimical to the achievement of this goal.... [T]he failure of [the bank] to comply with the administrative forbearance regulations and policies ... gives rise to a valid equitable defense to a foreclosure action under state law.
Id. at 449.
Similarly, in
Lillard,
the Kentucky Court of Appeals concluded that a bank’s alleged noncompliance with the Act provides a valid equitable defense to foreclosure proceedings.
the foreclosure action ... was the logical and appropriate place for the [borrowers] to assert the bank’s failure to afford them those rights specifically designed to prevent foreclosure in the first instance. Failure to allow borrowers to assert such a defense in a state court foreclosure proceeding would essentially render meaningless the rights extended to borrowers under the Act and frustrate the intent of Congress to benefit this nation’s struggling farm population.
Lillard,
The Bank cites
Federal Land Bank of Spokane v. Wright,
The court went on to opine, in dicta, that equitable defenses are not available to borrowers in foreclosure proceedings under the Act. The court relied on several eases that declined to create a private right of action under the Act, but did recognize a borrower’s right to raise an equitable de
*380
fense to foreclosure based on a bank’s noncompliance with the Act.
Id.,
We find the reasoning of L.R. Ranch Co., Overboe, and Lillard persuasive, and likewise conclude that a borrower may assert a lender’s violation of substantive and procedural provisions of the Act as an equitable defense to foreclosure. 1
Borrowers in this case have asserted that they should be shielded from foreclosure because of the Bank’s noncompliance with the Act. They filed an affidavit from Jess-up Van Tassell in support of their equitable defense that the Bank did not comply with the provisions of the Act. Thus, Borrowers have raised a genuine issue of material fact, pursuant to a permissible equitable defense, that could not be resolved on summary judgment. The trial court therefore erred in granting summary judgment in favor of the Bank.
Bad Faith
Borrowers claim that the Bank breached its implied contractual duty of good faith and fair dealing in bringing foreclosure proceedings. Borrowers claim that since good faith and fair dealing are fact sensitive issues, the trial court erred in deciding, as a matter of law, that the Bank did not act in bad faith. We agree.
Generally, “a covenant of good faith and fair dealing inheres in most, if not all, contractual relationships.”
St. Benedict’s Dev. v. St. Benedict’s Hosp.,
In the present case, Borrowers raised the Bank’s alleged breach of the contractual duty of good faith and fair dealing both as an affirmative defense and as a counterclaim. Borrowers asserted this claim in their amended answer and by reference in opposition to the Bank’s motion for summary judgment. Borrowers supported their allegations with an affidavit from Mr. Van Tassell. Borrowers therefore raised a material factual issue that was not subject to resolution as a matter of law on summary judgment.
CONCLUSION
We do not address Borrowers’ federal and state common law causes of action arguments because they were raised for the first time on appeal. We conclude that the trial court erred in granting summary judgment because of the presence of genuine issues of material fact regarding Borrowers’ equitable defenses. We also conclude that the trial court erred in granting summary judgment because of the presence of genuine issues of material fact regarding the Borrowers’ breach of contract claim.
We therefore reverse the trial court’s grant of summary judgment and remand the case for further proceedings.
GREENWOOD and RUSSON, JJ., concur.
Notes
. We reject the Bank’s suggestion that recognizing an affirmative defense to foreclosure proceedings under the Act is tantamount to recognizing a private right of action under the Act. A private right of action could be brought by a borrower against a bank any time a borrower felt it had been dealt with by a bank in an unfair manner. By contrast, an affirmative defense can only be raised after a bank has initiated foreclosure proceedings against a borrower.
