delivered the opinion of the court:
This appeal arises from the trial court’s determination in a declaratory judgment proceeding that the plaintiff, The Fidelity & Casualty Company of New York (Fidelity), was under no obligation to defend or indemnify its insured, defendant Envirodyne Engineers, Inc. (Envirodyne), in a separate personal injury claim filed by one Ben E. Guzman. Envirodyne was insured by Fidelity under a comprehensive general liability policy. The policy contained an exclusion providing: “It is agreed that the insurance does not apply to bodily injury or property damage arising out of the rendering of or the failure to render any professional services by or for the names insured including *** supervisory, inspection or engineering services.”
Guzman was allegedly injured while working as an employee at a construction project. Envirodyne was engaged as the project’s consulting engineer by the Illinois State Toll Highway Authority. Guzman brought suit against both Envirodyne and the Highway Authority, alleging that both parties had violated the Structural Work Act (Ill. Rev. Stat. 1981, ch. 48, pars. 60-69) and that both parties were also liable in negligence.
Fidelity defended Envirodyne in the Guzman case under a reservation
Two broad contentions have been argued by Envirodyne throughout its brief. Envirodyne first contends that the court in the declaratory judgment proceeding improperly looked beyond the complaint in the underlying personal injury case when it ruled upon Fidelity’s duty to defend Envirodyne in the Guzman lawsuit. The second argument raised by Envirodyne is that the declaratory proceeding determined one of the ultimate issues upon which recovery was predicated in the Guzman case and that the trial court’s ruling was therefore improper under Maryland, Casualty Co. v. Peppers (1976),
We shall first address Envirodyne’s contention that the trial court may look only to the complaint in the underlying lawsuit when determining, in a separate declaratory judgment action, whether an insurer owes a duty to its insured to defend the insured in the underlying action. In the case at bar, Guzman’s complaint states that Envirodyne and the Highway Authority “erected, constructed, placed or operated or caused to be erected, constructed, placed or operated, a certain scaffold ***.” It was undisputed during appellate oral arguments that the above-quoted language is the only portion of the Guzman complaint which could conceivably fall within the confines of the general liability policy issued by Fidelity. If Envirodyne physically constructed the scaffold, there would be coverage under the general liability policy; however, if Envirodyne acted only as a consulting engineer, there would be no coverage because of the exclusion.
Prior to granting summary judgment in the declaratory proceeding, the trial court examined the contract between Envirodyne and the Highway Authority. The contract stated that Envirodyne’s duties at the construction site were limited to those of a consulting engineer. In addition, over Envirodyne’s objection, the trial judge ordered the deposition of Michael Endress, who was a professional engineer and the assistant vice-president of Envirodyne. Endress stated that Envirodyne was an engineering firm, that Envirodyne was the general consultant for the Highway Authority and that he was unaware of any functions performed by Envirodyne at the job site other than
The well established general rule is that the allegations in the complaint in the underlying action determine an insurer’s duty to defend its insured. (See, e.g., Thornton v. Paul (1978),
Based upon the law above recited, we find no support for Envirodyne’s contention that the court may not look beyond the underlying complaint even in a declaratory proceeding where the duty to defend is at issue. It is certainly true that the duty to defend flows in the first instance from the allegations in the underlying complaint; this is the concern at the initial stage of the proceedings when an insurance company encounters the primary decision of whether to defend its insured. However, if an insurer opts to file a declaratory proceeding, we believe that it may properly challenge the existence of such a duty by offering evidence to prove that the insured’s actions fell within the limitations of one of the policy’s exclusions. (See 7C Appleman, Insurance Law & Practice sec. 4683, at 53 (1979); see also Kepner v. Western Fire Insurance Co. (1973),
While we have been unable to find an instance where the issue of admitting evidence beyond the underlying complaint has been squarely addressed before, we have encountered a number of Illinois cases where evidence was apparently presumed to be admissible in declaratory judgment proceedings such as the one at issue here. In Mid America Fire & Marine Insurance Co. v. Smith (1982),
Before progressing to the next issue on appeal, we believe it important to distinguish this case, where the insurer exercised its options to defend under a reservation of rights and to file a declaratory
We must next decide whether the trial court improperly determined an ultimate fact in the underlying action when it granted summary judgment in favor of Fidelity in the declaratory proceeding. The leading Illinois Supreme Court case in this area is Maryland Casualty Co. v. Peppers (1976),
In Thornton v. Paul (1978),
Both Peppers and Thornton are instructive as to what matters cannot be determined in a declaratory judgment proceeding prior to the completion of the underlying action. Peppers states that an ultimate fact upon which recovery is predicated in the underlying case may not be addressed. The court’s language suggests that an ultimate fact is one which would estop the plaintiff in the underlying case from pursuing one of his theories of recovery. Thornton implies that an ultimate fact is one in which “an issue crucial to the insured’s liability” in the underlying case is determined. Apparently only then would the inequities surface in regard to alignment of the parties and the order and burden of proof, because those matters necessarily arise in any declaratory judgment proceeding brought before completion of the underlying lawsuit. Thus, in examining the facts in the instant case, we must decide whether the plaintiff in the underlying lawsuit would be estopped from raising a theory of recovery or if the trial court decided an issue crucial to the insured’s liability in the underlying case.
The sole issue determined by the trial court in the declaratory proceeding was the nature of the services performed by Envirodyne at the construction site. Specifically, the court found that any actions taken by Envirodyne at the job site were performed in its capacity as
For the foregoing reasons, the judgment of the trial court is affirmed.
ROMITI, P.J., and JOHNSON, J., concur.
Notes
A related but different situation may arise when the insurer defends its insured in the underlying action but does not either defend under a reservation of rights or file a declaratory judgment proceeding. If the insurer later contests the issue of coverage, it may be estopped from denying its own liability under the policy. (See Apex Mutual Insurance Co. v. Christner (1968),
