OPINION
{1} This сase requires us to examine which version of New Mexico’s anti-indemnity statute applies to an agreement between a contractor and a landowner: the version of the statute that was in force when the parties signed the agreement, or the amended version that was in force when the contractor performed the work and the accident occurred. We conclude that the version of the statute that was in effect when the contract was signed applies and that the statute voided the contractor’s agreement to indemnify but not its agreement to defend and insure. We also conclude that notwithstаnding the unenforceability of the parties’ indemnification agreement, material issues of fact precluded entry of summary judgment on the landowner’s claim of common law indemnification. Accordingly, we reverse in part and affirm in part.
I. BACKGROUND
{2} Safeway, Inc. (Safeway) owns a grocery store in Gallup, New Mexico. On March 10, 2005, Rooter 2000 Plumbing and Drain SSS (Rooter) installed a diaper changing table in the Safeway store. On April 8, 2006, Brianna DeWeese and her child (Plaintiffs) were injured when the baby changing table became dislodged and fell from the wall. In an amended complaint, Plaintiffs sued Safeway and Rooter alleging general negligence, negligencе per se, breach of implied warranty, strict liability, and a claim under the doctrine of respondeat superior against Safeway. Safeway demanded a defense from Rooter’s insurance company, but Safeway was not named by Rooter as an additional insured on its policy, and the insurance company denied Safeway’s request. Rooter also declined to otherwise provide Safeway a defense.
{3} Safeway then filed a cross-claim against Rooter, alleging that Rooter was in breach of the Standard Service Provider Terms and Conditions Agreement (Agreement) between them that was in effect when Rooter installed the diaper changing table. Safeway sought indemnification and damages pursuant to the contract, common law indemnification, and contribution from Rooter. The relevant provision of the Agreement states:
[Rooter] shall indemnify, defend and hold [Safeway] harmless from and against: any and all claims, losses, damages, liabilities, and expenses (including the costs of investigation and attorney’s fees) in connection with any claim or cause of action arising from any act or omission of [Rooter,] its employees, agents, and representatives, in the performance of its obligations under this Agreement, except where the claim, loss or damage is caused by the sole negligence of [Safeway].
The Agreement also requires Rooter to maintain liability insurance and to name Safeway as an additional insured on that policy.
{4} Rooter and Plaintiffs settled before trial. Rooter filed a motion for summary judgment in the district court requesting that summary judgment be granted on all of Safeway’s cross-claims, asserting that the agreement was void under NMSA 1978, Section 56-7-1 (1971, as amended through 2005). At the hearing on Rooter’s motion for summary judgment, Plaintiffs abandoned their strict and vicarious liability claims against Safeway but retained their claim that Safeway had a nondelegable duty tо maintain safe premises. Plaintiffs also represented that they would be willing to include other Defendants on the special verdict form for comparative fault purposes and would not require Safeway to pay any percentage of fault assigned by the jury to Rooter at trial. The district court granted Rooter’s motion and dismissed all of Safeway’s cross-claims. Safeway’s claim for common law indemnification was dismissed because “[t]he Plaintiff is not seeking liability or damages from Safeway for Rooter’s acts or omissions.” The court orally ruled in the hearing that the agreement to indemnify, defend, and insure was void as against public policy under Section 56-7-1. The district court did not address which version of the statute it was applying, nor did it include this in the written order.
{5} Safeway and Plaintiffs proceeded to trial on the remaining claims. The jury found that Safeway was negligent, awarded damages, and apportioned fault on a special verdict form assigning forty percent fault to Safeway and sixty percent fault to Rooter. Safeway appeals from the district court order granting summary judgment to Rooter on Safeway’s cross-claims for indemnification and its defense costs.
II. ANALYSIS
{6} Safeway asserts that summary judgment was improper for four reasons: (A) the 2003 amended version of Seсtion 56-7-1 applies to the Agreement because the events invoking the provisions of the Agreement occurred after 2003; (B) Rooter’s agreement to indemnify is not barred by Section 56-7-1; (C) the doctrine of common law indemnification requires Rooter to indemnify Safeway independent of any effect of Section 56-7-1; and (D) the defense and insurance provisions in the Agreement are not barred by Section 56-7-1. “Summary judgment is appropriate where there are no genuine issues of material fact and the movant is entitled to judgment as a matter of law.” Self v. United Parcel Serv., Inc.,
A. Application of Amended Version of Section 56-7-1
{7} In 2003, between the signing of the agreement between Rooter and Safeway and the relevant events giving rise to Plaintiffs’ lawsuit, Section 56-7-1 was amended. 2003 N.M. Laws, ch. 309, § 1. Section 56-7-1 had not been amended since its enactment in 1971. The original version stated in pertinent part:
Any provision, contained in any agreement relating to the construction, installation, alteration, modification, repair, maintenance, servicing, demolition ... of any real property, or any improvement of any kind ... by which any party to the agreement agrees to indemnify the indemnitee, or the agents and employees ofthe indemnitee, against liability, claims, dаmages, losses or expenses, including attorney fees, arising out of bodily injury to persons or damage to property caused by, or resulting from, in whole or in part, the negligence, act or omission of the indemnitee, or the agents or employees of the indemnitee, or any legal entity for whose negligence, acts or omissions any of them may be liable, is against public policy and is void and unenforceable!].]
Section 56-7-1 (1971) (emphasis added). The statute defined “indemnify” as:
without limitation, an agreement to remedy damage or loss caused in whole or in part by the negligence, act or omission of the indemnitee, the agents оr employees of the indemnitee, or any legal entity for whose negligence, acts or omissions any of the foregoing may be liable.
Id.
{8} The 2003 version of the statute was amended to state in pertinent part:
A. A provision in a construction contract that requires one party to the contract to indemnify, hold harmless, insure or defend the other party to the contract, including the other party’s employees or agents, against liability, claims, damages, losses or expenses, including attorney fees, arising out of bodily injury to persons or damage to property caused by or resulting from, in whole or in part, the negligence, aсt or omission of the indemnitee, its officers, employees or agents, is void, unenforceable and against the public policy of the state.
B. A construction contract may contain a provision that, or shall be enforced only to the extent that, it:
(1) requires one party to the contract to indemnify, hold harmless or insure the other party to the contract, including its officers, employees or agents, against liability, claims, damages, losses or expenses, including attorney fees, only to the extent that the liability, damages, losses or costs are caused by, or arise out of, the acts or omissions of the indemnitor or its offiсers, employees or agents; or
(2) requires a party to the contract to purchase a project-specific insurance policy, including an owner’s or contractor’s protective insurance, project management protective liability insurance or builder’s risk insurance.
Section 56-7-l(A), (B) (2003) (emphasis added).
{9} The 2003 amendment also added that to “indemnify or hold harmless” included “any requirement to name the indemnified party as an additional insured in the indemnitor’s insurance coverage for the purpose of providing indemnification for any liability not otherwise allowed in this section.” Section 56-7-1 (E) (2003). The statute was again amended in 2005 by adding a new subsection dealing with state contracts, but not changing any other provision. Safeway asserts, and we agree, that those amendments do not affect the disposition of this case.
{10} In Windham v. L.C.I.2, Inc.,
{11} Provided that a contract is enforceable, we generally construe it in light of the law that was in existence at the time the contract was signed, in line with our policy of enforcing the parties’ intent and justified expectations at the time they made their agreement. See State Farm Mut. Auto Ins. Co. v. Valеncia,
{12} Furthermore, generally statutes are to he applied prospectively, absent a clear legislative intent to the contrary. See Quintana v. Los Alamos Med. Ctr.,
{13} The original version of Section 56-7-1 contained a wholesale prohibition against indemnity agreements, while the amended version allows parties to contract for indemnification to compensate an indemnitee for the negligence of thе indemnitor. See Holguin v. Fulco Oil Servs. L.L.C.,
{14} Because the statute added that agreements to insure and defend are unenforceable to the same extent as agreements to indemnify at least to the extent the agreement purports to indemnify for the acts of the indemnitee, it would undermine the parties’ justified expectations at the time of the signing of the contract to apply the amended version of the statute to this case. Thus, we conclude that thе statute in effect at the time of the signing of the contract controls, irrespective of the statute’s subsequent amendment. See, e.g., Windham,
B. Contractual Indemnification
{15} The 1971 version of Section 56-7-1 invalidates all indemnity agreements relating to construction contracts, whether they indemnify against the indemnitee’s or the indemnitor’s negligence. See Sierra,
C. Common Law Indemnification
{16} Safeway next argues that even if the agreement to indemnify is unenforceable under Section 56-7-1, a common law right to “traditional indemnification” exists and entitles Safeway to indemnification from Rooter. Although the cases refer to the common law right as “traditional indemnification,” we refer to the right as “common law indemnification” for clarity. See Otero v. Jordan Rest. Enters.,
Active conduct occurs when the indemnitee personally participated in an affirmative act of negligence, was connected with negligent acts or omissions by knowledge or acquiescence, or has failed to perform a precise duty, which the indemnitee had agreed to perform. Passive conduct occurs when the party seeking indemnification fails to discover and remedy a dangerous situation created by the negligence or wrongdoing of another.
Budget Rent-A-Car Sys., Inc. v. Bridgestone,2009-NMCA-013 , ¶ 12,145 N.M. 623 ,203 P.3d 154 (internal quotation marks and citation omitted).
{17} Our Supreme Court discussed the passive/active distinction in a different, but analogous, circumstance in Otero. In Otero, a restaurant owner had been sued by a patron who was injured when bleachers in its restaurant collapsed. See
A possessor of land who entrusts to an independent contractor construction, repair, or other work on the land, or on a building or other structure upon it, is subject to the same liability as though he had retained the work in his own hands to others on or outside of the land for рhysical harm caused to them by the unsafe condition of the structure . . . [if he has possession of the land while the work is being completed, or] after he has resumed possession of the land upon its completion.
Nevertheless, the Supreme Court concluded that the negligent contractor had no right to assign fault to the city because it had misrepresented its licensing qualification to the city in the permitting process and, therefore, the restaurant owner likewise had no right to apportion fault to the city because it stood in the shoes of the contractor. Otero,
{18} The Supreme Court also concluded that the restаurant owner was not liable to indemnify concurrent tortfeasors for any damages assessed against it because the restaurant owner was not an active tortfeasor. See id. ¶ 14. The Supreme Court cited to the Restatement to support its reasoning, which states: ‘“Where a person has become liable with another for harm caused to a third person because of his negligent failure to make safe a dangerous condition of land[,] . . . which was created by the misconduct of the other[,] . . . he is entitled to restitution from the other . . . unless after discovery of the danger, he acquiesced in the continuation of the condition.’” Id. ¶ 13 (quoting Restatement (First) of Restitution § 95 (1937)). The Court concluded that the restaurant owner was not an active tortfeasor based upon the undisputed evidence that the bleachers were negligently installed by the contractor and that the restaurant owner did not discover the unsafe condition. Otero,
{19} The Supreme Courtthus affirmed the district court’s finding that the restaurant owner was entitled to indemnification from both the contractor and architect for whose negligence it was held liable under the nondelegable duty doctrine. See id. ¶ 3 n.2. OtherNew Mexico cases have also stated that the determination of the circumstances under whiсh such indemnification is warranted lies in the distinction “between one who was negligent ‘. . . in failing to discover and remedy a dangerous condition . . .’ and one who ‘created’ the dangerous condition.” Harmon v. Farmer’s Mkt. Food Store,
{20} We therefore conclude that a common law right to indemnification exists in circumstances in which a landowner is held liable for damages as a passive tortfeasor for failing to discover a dangerous condition on its land created by another tortfeasor. See In. re Vista Hills Retaining Wall Litig.,
{21} Here, Plaintiffs represented to the district court that they were seeking damages under the non-delegable duty doctrine, based on Safeway’s alleged failure to maintain safe premises. Rooter does not dispute that the theory presented to the jury for Safeway’s negligence was based on the non-delegable duty doctrine, and states that “[t]he claim against Safeway arose out of Safeway’s duty to keep the premises safe.” Thus, the parties agree that the jury was presented with a theory against Safeway under the non-delegable duty doctrine, under which our case law allows for common law indemnificаtion to passive tortfeasors.
{22} Rooter argues that because the jury apportioned fault between Safeway and Rooter no common law right to indemnification can remain for Safeway to invoke because it was held liable only for its own negligence. We disagree. The nondelegable duty doctrine, like vicarious liability and strict liability, allows the plaintiff to recover from a party who was not actively at fault. See Otero v. Jordon Rest. Enters.,
{23} The fact that the jury apportioned fault between the parties at trial does not strip away Safeway’s common law right of indemnification to obtain full recovery for damages assessed against it from Rooter, assuming that Safeway is found by the jury to bе a passive tortfeasor. See NMSA 1978, § 41-3 A-1(F) (1987) (stating in statute abolishing joint and several liability and adopting comparative fault that “[njothing in this section shall be construed to affect or impair any right of indemnity or contribution arising out of any contract of agreement or any right of indemnity otherwise provided by law”); Trujillo,
{24} We conclude that the question of whether Safeway was an active or passive tortfeasor should have been presented to the jury. See generally Dessauer v. Mem'l Gen. Hosp.,
{25} We also note our conclusion that the right to common law indemnification in these circumstances is not precluded by Section 56-7-1. In the statute, the Legislature only addressed “agreements” to indemnify in the construction context, not common law right to indemnification. Further, the common law right to indemnification is well-defined in our case law and was not addressed by the original statute or any subsequent amendments. See § 56-7-1 (2005); Sims v. Sims,
D. Duty to Insure and Defend
{26} The original version of Section 56-7-1 did not address agreements to defend or insure. Rather, the statute specifically declared as unenforceable: “Any provision contained in any [construction related activity] agreement ... by which any party to the agreement agrees to indemnify the indemnitee.” Section56-7-1 (1971). In2003, Section 56-7-1 was amended to specifically include an agreement to insure or defend against the indemnitee’s negligenсe stating: “A provision in a construction contract that requires one party to the contract to indemnify, hold harmless, insure or defend the other party to the contract” against liability for the negligence, acts or omissions of the indemnitee is unenforceable. Section 56-7-1(A) (2003).
{27} The Legislature was capable of including agreements to defend or insure in the language of the indemnity statute, and did so in 2003. However, when the statute was enacted in 1971, the Legislature did not include those provisions as being violative of the public policy of New Mexico. Accordingly, we conclude that the Legislature did not intend that the original version of the statute apply to agreements to defend or insure. See Key v. Chrysler Motors Corp.,
{28} We note that our Supreme Court invalidated a contract which required one party to “defend at its own cost and indemnify and hold harmless” the other party in Sierra under the 1971 version of Section 56-7-1. Sierra,
{29} Furthermore, although Plaintiffs dismissed their strict and vicarious liability claims against Safeway, Rooter nonetheless had a duty to defend under the contractual provision for any claims “arising from” the work performed by Rooter, whether they were vicarious liability claims or other causes of action. See BPLW Architects,
{30} With respect to the duty to insure, because the contractual provision was enforceable, thе dismissal of Plaintiffs’ vicarious liability claims also does not resolve the question of whether that duty was breached and harm resulted to Safeway. Accordingly, genuine issues of material fact existed as to Rooter’s duty to defend and insure, and summary judgment was improperly granted as to those issues.
III. CONCLUSION
{31} We reverse the district court’s grant of summary judgment with respect to Safeway’s right to common law indemnification and as to the enforceability of Rooter’s agreement to defend and insure Safeway and remand for further proceedings consistent with this opinion. We affirm as to all other issues.
{32} IT IS SO ORDERED.
WE CONCUR:
Notes
We note that under the 2003 amendment to the statute, Rooter’s аgreement to provide a defense to Safeway “from and against: any and all claims ... in connection with any claim or cause of action arising from any act or omission of [Rooter]... in the performance of its obligations under this Agreement,” is enforceable. See Windham,
