This сase involves two appeals. The first, No. 145, concerns the final judgment rule; the second, No. 156, raises issues relating to an insurer’s duty to defend its insured and damages from an alleged breach of that duty.
I
On April 12, 1984, EDP Floors, Inc. (EDP) planned to deliver a load of floor tile to a jobsite. One of EDP’s employees, a helper on the delivery truck, arrived for work that day with bloodshot eyes; his speech was slurred and he smelled of alcohol. Because no one else was available, EDP allowed the helper to accompany the driver. Between EDP’s warehouse and the jobsite, the driver and helper stopped for lunch, and the helper consumed additional alcoholic beverages. When they arrived at the jobsite, the driver determined that the helper was too drunk to be of any assistance; thus, he obtained help from others at the jobsite, including Jeffrey Davis, the plаintiff in the underlying tort suit. At some point during the unloading of the floor tiles, the helper returned to the truck and operated the hydraulic lift at the rear of the truck. The floor tiles fell off the lift and injured Davis who subsequently sued EDP in the Circuit Court for Prince George’s County. Davis alleged EDP’s vicarious liability for the helper’s negligence in Count I, direct liability for negligent hiring and retention and negligent supervision in Counts II and III, and liability for punitive damages in Count IV. 1
EDP notified both its automobile and gеneral liability insurance carriers of the suit and requested a defense. State Farm, the automobile carrier, entered the case, but apparently has consistently disputed the extent of its coverage. *221 2 Northern Assurance Company (NAC), the general business liability carrier, denied coverage. Davis sued NAC and EDP, seeking a declaratory judgment that NAC owed EDP a defense in the underlying tort suit as well as a duty to indemnify EDP for any judgment against it. NAC moved for dismissаl or for summary judgment on the grounds that Davis had no standing to maintain the action, that no justiciable controversy existed, and that NAC’s policy did not cover the alleged torts. EDP then filed a cross-claim against NAC, seeking a declaration that NAC had a duty to defend EDP, to indemnify it, and to pay its attorneys’ fees in the declaratory judgment action. NAC’s answer to the cross-claim incorporated its earlier motion for dismissal or summary judgment. EDP also filed a motiоn for summary judgment.
On August 26, 1986, the trial court (Briscoe, J.) held a hearing on the various motions. It granted the motion to dismiss as to Davis, finding that he had no standing to seek a declaratory judgment that NAC had a duty to defend EDP. Davis did not appeal that ruling. The court also determined that NAC did have a duty to defend EDP with respect to Counts II-IV and pay any resulting judgment against EDP on those counts. The court, after hearing from counsel on the issue of attorneys’ fees, reserved its ruling on that question. 3 The Court of Special Appeals, citing Maryland Rule 2-602, dismissed NAC’s appeal from the trial court’s judgment. We granted certiorari to determine whether the intermediate appellate court erred in dismissing the appeal (No. 145).
In the meantime, EDP filed a memorandum in support of its request for attorneys’ fees. NAC filed a request for *222 discovery as well as a memorandum opposing the fee petition. When EDP objected to the discоvery requests, NAC also filed a motion to compel discovery. At a hearing on December 11, 1986, the trial court heard argument on the issue of fees and NAC’s discovery requests; it denied NAC’s discovery requests and granted attorneys’ fees to EDP in the amount of $7,488.20. NAC then appealed from that judgment. We granted certiorari (No. 156) prior to argument in the Court of Special Appeals and consolidated the argument with No. 145.
II
Here counsel fees were sought as damages for breach of the insurance contract. That breach of contract claim was not finally adjudiciated until the counsel fee was determined. Md. Rule 887 provides that upon an appeal from a final judgment, every interlocutory order entered in the action is open to review.
See Cant v. Bartlett,
Ill
The appeal in No. 156 presents three principal issues: (1) whether a justiciable controversy exists between NAC and EDP, (2) whether NAC has a duty to defend EDP against Counts II-IV and to pay resulting judgment on these counts, and (3) whether EDP was entitled to attorneys’ fees in the declaratory judgment action.
(A)
Justiciability
NAC contends that the trial court has no jurisdiction to enter a declaratory judgment in this case because no justiciablе controversy existed between NAC and EDP. *223 Alternatively, NAC claims that the trial court abused its discretion in entering a declaratory judgment.
A circuit court has jurisdiction to construe a written contract and declare the rights of the parties under it. Maryland Code (1984 Repl. Vol.) §§ 3-402, -406 of the Courts and Judicial Proceedings Article. The court may grant this discretionary relief in order to terminate an actual controversy if “[a] party asserts a legal ... right ... [that] is chаllenged or denied by an adversary party, who also has or asserts a concrete interest in it.” § 3-409(a)(3) of the Courts Article. Thus, when interested parties advance adverse claims upon a state of facts that has accrued, a justiciable controversy exists, and a trial court may enter a declaratory judgment.
Hatt v. Anderson,
These requirements were satisfied in this case. EDP had an insurance contract with NAC that required NAC to defend EDP in actions assеrting claims within the policy coverage. It notified NAC of the suit filed by Jeffrey Davis and requested a defense; NAC refused. According to NAC’s reading of the policy, Davis’s claim was excluded from coverage. Because EDP disagreed with this policy interpretation, it requested the trial court to declare its rights under the insurance policy.
Occasionally a declaratory judgment action may involve questions to be decided in another pending action. In those cases, it may be an abuse of discretion for the trial court to resolve those issues in the declaratory judgment action.
Brohawn v. Transamerica Ins. Co.,
(B)
Duty to Defend
The insurance policy issued by NAC to EDP provides in Section II:
“A. WHAT IS COVERED
The following coverages apply only when caused by an occurrence insured by this policy and not otherwise excluded:
1. BODILY INJURY AND PROPERTY DAMAGE LIABILITY. We cover all sums which the insured is legally required to pay as damages because of bodily injury or property damage.
B. WHAT IS NOT COVERED
Coverage provided under A. WHAT IS COVERED does not apply as described below:
2. AUTOMOBILES, AIRCRAFT AND WATERCRAFT. Coverage does not apply tо bodily injury or *225 property damage arising out of the ownership, maintenance, operation, use, loading or unloading of:
a. any automobile, aircraft or watercraft owned or operated by, or rented or loaned to, any insured, or
b. any other automobile, aircraft or watercraft owned or operated by a person in the course of his employment by any insured.” (Emphasis in original policy language.)
The policy also contains the following definitions in Section 1:
“Automobile means a land motor vehicle, trailer or semitrailer, designed to travel on public roads (including any attached machinery or apparatus), but does not include mobile equipment.
Loading Or Unloading means, with respect to an automobile, the handling of property:
1. after it is moved from the place where it is accepted for movement into or onto an automobile;
2. while it is in or on an automobile; or
3. while it is being moved from an automobile to the place where it is finally delivered.” (Emphasis in original policy language.)
EDP contends that the exclusion for “bodily injury ... arising out of the ... loading оr unloading of [a truck]” applies only to EDP’s alleged vicarious liability for the negligence of its employee. Because the other counts allege negligence by EDP apart from its employee’s negligence, EDP asserts that the NAC policy covers these counts. NAC, on the other hand, contends that all counts in Davis’s tort complaint were within the excluded coverage because the allegedly negligent unloading of the truck by EDP’s еmployee was a crucial and necessary link between Davis’s injury and EDP’s liability under each count.
We note at the outset that EDP’s attempt to apply the “potentiality rule” stated in
Brohawn v. Transamerica Ins. Co.,
Courts which have considered the issue
sub judice
and cognate issues concerning the interpretation of exclusionary clauses in insurance contracts have reached varying results.
See generally
Annotation,
Construction and Effect of Provision Excluding Liability for Automobile-Related Injuries or Damage from Coverage of Homeowner’s or Personal Liability Policy,
Quite recently, in
Rubins Contractors, Inc. v. Lumbermens Mut. Ins.,
A few courts that have denied exclusion have relied partly on canons of insurance contract interpretation that construe the policy most strictly against the insurer, either because the exclusion clause is held to be ambiguous,
United Fire & Cas. Co., Cedar Rapids v. Day,
*228
A more prevalent rationale for denying exclusion on facts analogous to those before us is the view taken by a number of courts that when vehicle use and nonvehicle use factors contribute to an injury, thesе separate factors are to be regarded as concurrent and independent causes. Thus, these courts reason, liability has not arisen solely from the use of the vehicle, which in their view the exclusion clause requires.
See, e.g., Partridge, supra; U.S. Fidelity & Guaranty Co. v. State Farm,
Both parties purport to find support for their positions in
Aragona v. St. Paul Fire & Mar. Ins.,
Myers’ professional malpractice insurer agreed to pay “ ‘all sums which the Insured shall become legally obligated to pay as damages arising out of the performance of professional services for others in the Insured’s capacity as a lawyer and caused by the Insured or any other pеrson for whose acts the Insured is legally liable____’”
Id.
at 372,
We concluded that this insurance policy did not cover Myers’ negligent failure to discover his partner’s misappropriations. Finding no ambiguity in the policy language, we defined the issue as “whether, in view of the plain language of the policy, the exclusionary clause applies where, as here, one of several causes contributing to the loss was not
*229
within the exclusion.”
Id.
at 375,
“[T]he terms of the policy determine the reach and extent of its coverage. In this connection, principles of causation will not be applied to defeat the intent of the parties, as manifested in the insurance contract; indeed, as our predecessors noted in Automobile Ins. Co. v. Thomas, supra (153 Md. [253] at 257 [138 A. 33 (1927) ]), general definitions of proximate causation afford little aid in determining whether a particular loss was intended to be covered under the insurance policy.” Id. at 379,378 A.2d 1346 .
We thus cautioned in Aragona against the inappropriate use of principles of causation—an important consideration hеre, for much of EDP’s argument, and much of the reasoning of the courts from other jurisdictions that tend to support its position, e.g., Houser, supra, is grounded in causation analysis. EDP asserts, for example, that with respect to Davis’s negligent supervision and negligent hiring and retention counts, the separate negligence of EDP itself should be viewed as the proximate cause of Davis’s *230 injury. It claims that since the exclusion clause should be read as requiring that the unloading of thе truck, and not a concurring nonvehicular cause, be the proximate cause of the injury, the exclusion assertedly is inapplicable. Alternatively, it suggests that the separate negligence of EDP’s employee and of EDP itself should be viewed as concurrent causes of Davis’s injury. In such cases, EDP argues, the policy exclusion is ineffective to defeat coverage.
These arguments are unconvincing in light of the terms of the pоlicy exclusion which flatly provide that there is no coverage for injuries arising out of the operation or use of a motor vehicle, including the loading or unloading thereof. The words. “arising out of” must be afforded their common understanding, namely, to mean originating from, growing out of, flowing from, or the like.
See Baca v. New Mexico State Highway Dept.,
As we seе it, the language in the exclusionary clause clearly focuses the “arising out of” inquiry on the instrumentality of the injury,
i.e.,
upon the truck and its unload
*231
ing. When, as here, there is no ambiguity in the policy exclusion, the first principle of construction of insurance policies in Maryland requires that we apply the terms of the contract as written.
See Mut. Fire, Marine & Inland Ins. v. Vollmer,
In concluding that the exclusionary provision in the NAC policy is applicable in this case, we have carefully considered
Gamble-Skogmo, Inc. v. Saint Paul Mercury Indem. Co.,
Gamble-Skogmo
is plainly inapposite on its facts, as the predicate of its reasoning was that the merchant’s inadequate instructions were the cause of the injury. In the present case, it is clear that the negligent unloading of the truck by EDP’s employee was, at least, an “arising out of” cause of Davis’s injury. In this regard, we note that several cases decided after
Gamble-Skogmo,
including cases in Minnesota, take the view that the rationale of
Gamble-Skogmo
is not applicable when at least a minimal “arising out of” causal relation is present between the unloading and the injury.
See Canadian Indemnity Co. v. State Automobile Ins. Ass’n,
IV
Our cases establish that an insurance company is liable for its insured’s reasonable attorneys’ fees in a declaratory judgment action if it wrongfully refuses to defend the insured.
Continental Casualty v. Board of Educ.,
*233 AS TO NO. 145: JUDGMENT DISMISSING THE APPEAL AFFIRMED; COSTS TO BE PAID BY THE APPELLEE.
AS TO NO. 156: JUDGMENT REVERSED; CASE REMANDED TO THE CIRCUIT COURT FOR PRINCE GEORGE’S COUNTY FOR ENTRY OF A DECLARATORY JUDGMENT CONSISTENT WITH THIS OPINION; COSTS TO BE PAID BY THE APPELLEE.
Notes
. For the purposes of this appeal, we accept as true the allegations in the underlying tort action.
. State Farm did not formally notify its insured, EDP, that it was defending under a reservation of rights as to Counts II-IV until the declaratоry judgment action involved in this appeal had concluded.
. It is not clear from the record whether the court reserved its ruling on the availability and amount of attorneys’ fees or only on the amount. Our disposition of the appeal in No. 145 makes it unnecessary to determine what the court intended by its ruling.
. According to NAC, the tort action may absolve EDP of liability for negligent hiring, retention, and supervision. Thus, it argues, the issue of coverage may be moot. The fact that EDP may win in the tort action, however, does not affect EDP's rights under the insurance contract.
