[¶ 1] Jared Lochthowe appealed from a judgment dismissing his action against C.F. Peterson Estate, Peterson Farm Properties, Douglas Thompson and David Thompson, and awarding David Thompson $28,894.36 in damages on his counterclaim against Lochthowe. We conclude the district court did not abuse its discretion in refusing to allow Lochthowe to amend his complaint to allege a claim for unjust enrichment against David Thompson because, under the circumstances, unjust enrichment is unavailable as a matter of law. We further conclude the district court’s award of damages to David Thompson on his claim of unlawful interference with a business relationship is not clearly erroneous. We affirm.
I
[¶ 2] In 1999 Lochthowe leased 611.2 acres of Ward County farmland on a cash rent basis from the C.F. Peterson Estate for $35 per acre. At the time they entered into the lease, Douglas Thompson, the personal representative of the Estate, told Lochthowe the land would be sold in 2000 and that he would be given an opportunity to bid on it. Because of heavy and persistent rains during the spring of 1999, Lo-chthowe was able to plant only 160 of the 611.2 acres, and the crop on those 160 acres was subsequently destroyed by hail early in the season. Lochthowe had purchased crop insurance for the 160 acres and, to collect the insurance proceeds, he had tó plow under this acreage. Afterward, Lochthowe again asked Douglas Thompson what the Estate’s plans were for the farmland in 2000. Douglas Thompson advised Lochthowe that he could lease the land for the same price, and if the land would be offered for sale, he could bid on the property. Douglas Thompson also informed Lochthowe he would be reimbursed for any work he did on the farmland. Lochthowe subsequently applied $3,800 in chemicals to the land and summer fallowed the property.
[¶ 3] During the spring of 2000, Lo-chthowe learned that the Estate was offering the land for sale to the highest bidder. Lochthowe and his father submitted the highest bids. However, the Estate informed Lochthowe and his father that, because of a right of first refusal contained in the Peterson Farm Properties partnership agreement, they would have to post an additional $20,000 before their bids could *123 be accepted. The Estate also informed them that, in the alternative, they could lease the property for $46 per acre, more than the $35 per acre Douglas Thompson had promised Lochthowe the previous summer. Lochthowe made a counteroffer to the Estate to cash rent the land for $35 per acre or have the Estate reimburse him $30,560 for applying chemicals to and summer fallowing the land. The Estate, through Douglas Thompson, refused Lo-chthowe’s offer and instead allowed David Thompson, an heir of the Estate, to lease the land for $30 per acre. David Thompson later purchased the 611.2 acres plus additional property from the Estate for the amount Lochthowe and his father had bid.
[¶ 4] After Lochthowe’s demand for payment was rejected, he filed an agricultural supplier’s lien in September 2000 against the Estate and Peterson Farm Properties. David Thompson’s name was also written on the lien. Lochthowe hand delivered the lien to Cargill, Inc., where David Thompson stored his grain, informed Cargill he had a lien on the grain, and told Cargill any check for sales of grain by David Thompson had to have Lochthowe’s name on it. Lochthowe later visited Cargill on two occasions to see if David Thompson had sold any grain.
[¶ 5] Lochthowe sued the Estate, Peterson Farm Properties, Douglas Thompson and David Thompson seeking $30,560 because “Defendants terminated the Plaintiff[’]s lease and did not reimburse him for the summer fallow on said property.” David Thompson counterclaimed for unlawful interference with business relations, asserting Lochthowe had filed an illegal lien against him which damaged his credit, made it impossible for him to sell his grain, delayed his ability to pay creditors, and increased his interest costs.
[¶ 6] Before trial, the parties informed the court that Lochthowe had settled and entered into a “P[i]erringer type release” with Douglas Thompson, the Estate and Peterson Farm Properties for payment of $8,000, and the court dismissed those defendants from the lawsuit. The court held a bench trial on Lochthowe’s claim against David Thompson and David Thompson’s counterclaim against Lochthowe. After the trial, Lochthowe moved under N.D.R.CivJP. 15(b) to amend his pleadings to include a claim for unjust enrichment against David Thompson. The court denied the motion because “the evidence offered at trial was relevant to pled and unpled claims of recovery.” The court dismissed Lochthowe’s claim against David Thompson, concluding “joint and several liability” could not exist between David Thompson and the other dismissed defendants to support Lochthowe’s action because David Thompson was not “a party to a lease agreement that was clearly between Locht[h]owe and P.R. Douglas Thompson.” The court further ruled in favor of David Thompson on his counterclaim against Lochthowe for unlawful interference with business relations and awarded him $28,894.36 in damages.
II
[¶ 7] On appeal, Lochthowe argues the district court erred in refusing to allow him to amend his complaint against David Thompson so the court could consider the doctrine of unjust enrichment in arriving at its decision.
[¶ 8] Under N.D.R.Civ.P. 15(b), a pleading may be impliedly amended by the introduction of evidence which varies the theory of the case and which is not objected to on the grounds it is not within the issues in the pleadings.
Mann v. Zabolotny,
[¶ 9] Unjust enrichment is an equitable doctrine, applied in the absence of an express or implied contract, to prevent a person from being unjustly enriched at the expense of another.
Apache Corp. v. MDU Res. Group, Inc.,
[¶ 10] When an impoverishment results from a valid contractual arrangement made by a party, the result is not contrary to equity and there has been no unjust enrichment.
BTA Oil Producers v. MDU Res. Group, Inc.,
“Indisputably, where one is afforded recovery from the person with whom he has a contract, he cannot also recover from third persons incidentally benefited by his performance. In such a case it could hardly be said that the retention of the benefit by the third party is unjust as to the furnisher. However, the situation is dissimilar where a person furnishes materials and labor under a contract for the benefit of a third party, and that contract becomes unenforceable or invalid. In that situation there is certainly no reason to preclude the fur-nisher or subcontractor from seeking recovery against the third person on the *125 theory of quantum meruit [i.e., unjust enrichment].”
[¶ 11] The situation in this case is somewhat analogous to the facts in
D.C. Trautman Co. v. Fargo Excavating Co., Inc.,
[¶ 12] This Court affirmed, relying in part on the principle that a party is not entitled to equitable relief in the form of unjust enrichment if there is an adequate remedy provided by law:
Trautman had such a remedy in this case. The trial court found that Traut-man had an oral agreement with Fargo Excavating to perform the repair work and that Fargo Excavating, pursuant to that agreement, was liable to Trautman for the.entire amount of the project, together with interest. Those findings by the trial court are supported by the evidence in the record and are not clearly erroneous. Accordingly, Trautman had an adequate remedy at law for breach of contract which precludes alternative equitable relief.
D.C.
Trautman Co.,
[¶ 13] During the trial in this case, Lochthowe argued he had an agreement with Douglas Thompson, the personal representative of the Estate, and Peterson Farm Properties to either be reimbursed for his improvement to the farmland or be allowed to lease or purchase the land the following year. Lo-chthowe testified that he had no agreement of any kind with David Thompson and conceded there is no evidence in the record to show that David Thompson participated in the termination of his lease. Indeed, David Thompson, although an heir of the Estate, testified he “didn’t get along” with Douglas Thompson. Lo-chthowe settled with all defendants except David Thompson through a “P[i]erringer type release” which is not included in the record on appeal. Generally, a
Pierringer
release releases the settling defendants’ liability but allows the plaintiff to proceed against nonsettling defendants for their percentage of causal negligence.
See Pierringer v. Roger,
[¶ 14] We conclude Lochthowe had an adequate legal remedy which precluded him from pursuing an unjust enrichment action against David Thompson as a matter of law. Consequently, we conclude the district court did not abuse its discretion in refusing to allow Lochthowe to amend his complaint under N.D.R.Civ.P. 15(b).
Ill
[¶ 15] Lochthowe argues the district court erred in awarding David Thompson $28,894.36 on his counterclaim for unlawful interference with a business relationship.
[¶ 16] In
Trade ‘N Post, L.L.C. v. World Duty Free Americas, Inc.,
[I]n order to prevail on a claim for unlawful interference with business, a plaintiff must prove the following essential elements: (1) the existence of a valid business relationship or expectancy; (2) knowledge by the interferer of the relationship or expectancy; (3) an independently tortious or otherwise unlawful act of interference by the interferer; (4) proof that the interference caused the harm sustained; and (5) actual damages to the party whose relationship or expectancy was disrupted.
See also Smith Enter., Inc. v. In-Touch Phone Cards, Inc.,
[¶ 17] David Thompson’s counterclaim against Lochthowe for unlawful interference with a business relationship was based on Lochthowe filing the agricultural supplier’s lien against the Estate and Peterson Farm Properties in September 2000 and Lochthowe’s actions with Cargill regarding that lien. David Thompson’s name was handwritten on the lien document as an additional person to whom Lochthowe had furnished supplies. Lo-chthowe testified it was his attorney at the time who added David Thompson’s name to the document. Lochthowe personally delivered the lien to a Cargill employee, Larry Rapp, and told him that his name was required to be on any check for grain sold in the name of David Thompson, Douglas Thompson, the Estate or Peterson Farm Properties. Rapp checked with Cargill’s legal department and was advised to include Lochthowe’s name on any check written to David Thompson for the sale of grain. Lochthowe later stopped at Cargill on two occasions to ask Rapp whether David Thompson had sold any grain. Because of the lien, David Thompson did not sell his grain.
[¶ 18] Lochthowe argues David Thompson should not have prevailed on his counterclaim because under N.D.C.C. § 35-31-02(5), the social security number or taxpayer identification number of the person to whom supplies were furnished *127 must appear on the lien to be valid and enforceable, and only the taxpayer identification number of the Estate appeared on the document. Lochthowe argues the lien was actually ineffective against David Thompson and Cargill should have been aware of this fact.
[¶ 19] Although the lien may arguably have been invalid as against David Thompson personally, Lochthowe treated the lien as valid against David Thompson at all relevant times in this case. Rapp testified that he would not have required that Lo-chthowe’s name be included on checks for the sale of David Thompson’s grain if Lo-chthowe, the person filing the lien, had not personally delivered the lien to him and informed him that the lien applied to everyone listed on the document. Although Lochthowe admitted David Thompson was the wrong person to name on the lien, Lochthowe refused to remove his name from the lien after David Thompson requested that he do so. Rapp also testified that David Thompson wanted to sell some of his grain but did not when Rapp informed him Lochthowe’s name would be included on the check. As the district court noted:
From his hand delivery of the agricultural supplier’s lien to Cargill and his follow up discussions with Mr Rapp, Locht[h]owe knew full well how Cargill was going to ... view his lien in regard to Thompson. Locht[h]owe knew his lien was holding up Thompson’s grain sales. Back in December 2000, Locht[h]owe (or his then legal counsel) could have easily told Rapp and/or Thompson that the lien was not meant to apply to Thompson personally.
Under the circumstances of this case, the district court was not precluded from finding that Lochthowe unlawfully and intentionally interfered with David Thompson’s business relationships even though the lien was legally invalid against him.
[¶ 20] The district court found that the first two elements for unlawful interference with a business relationship were satisfied because “the evidence was unequivocal that Thompson had a business relationship with Cargill and that Locht[h]owe had knowledge of [the] relationship.” The court found the third element was satisfied by Lochthowe’s actions regarding the lien. The court also found the fourth and fifth elements, harm and actual damages, were satisfied based on evidence that David Thompson incurred interest expenses of $13,037.28 and storage expenses of $15,857.08 because his operating loan was continued beyond April 1, 2001 due to his inability to sell a sufficient amount of grain to pay the loan. We conclude the district court’s finding that Lochthowe unlawfully and intentionally interfered with David Thompson’s business relationships is not clearly erroneous.
[¶ 21] Lochthowe argues that David Thompson failed to mitigate his damages. Lochthowe contends David Thompson either could have sold the grain in both names at a better price than he ultimately received without incurring the storage charges, or could have deposited $30,560 with the clerk of court to minimize the damages. One who is injured by the wrongful acts of another has a duty to minimize or lessen the resulting damage and must “ ‘protect himself if he can do so with reasonable exertion or at trifling expense, and can recover from the delinquent party only such damages as he could not, with reasonable effort, have avoided.’ ”
Schneidt v. Absey Motors, Inc.,
IV
[¶ 22] The judgment is affirmed.
