This is yet another appeal arising out of a struggle among three insurance companies over the question of insurance coverage. Appellant, The Travelers Indemnity Company (“Travelers”) filed a declaratory judgment action against appellees, Insurance Company of North America and its parent company, CIGNA (“INA”), and Scottish & York International Insurance Group (“Scottish & York”). Mason-Dixon Recycling Corporation (“Mason-Dixon”) is the named insured on an automobile insurance policy issued by Travelers. Rentals Unlimited, Inc. (“Rentals”) is the named insured on policies issued by INA and Scottish & York (as excess liability insurer to the INA policy). That is, Travelers is Mason-Dixon’s insurer; INA and Scottish & York are Rentals’s insurers.
Travelers sought a declaration that Mason-Dixon was entitled to a defense and coverage as an insured under the INA and Scottish & York policies against a personal injury action filed by Kenneth Wayne Lee in the Circuit Court for Montgomery County. Lee filed the action against Mason-Dixon as a result of injuries he sustained on February 12, 1986. Travelers also sought an award of the costs and fees it incurred in the litigation. The declaration filed in the underlying tort action against Mason-Dixon and others alleged, in pertinent part:
that from on or about January 1, 1980 to February 12, 1980, Kenneth Wayne Lee was employed by Manpower, Inc., an agency which utilized Kenneth Wayne Lee for the purpose of picking up bound newspapers and trash on behalf of Mason-Dixon Recycling Corporation. That Mason-Dixon, by and through its agents, servants, and employees, instructed and/or permitted Kenneth Wayne Lee to ride in the rear of trucks which Mason-Dixon rented from defendant, Rentals, Unlimited, Inc., for the purpose of travelling from stop to stop and placing collected *668 newspapers in the rear of said vehicles. No instructions were given Kenneth Wayne Lee relative to safety procedures in riding in said trailers by either defendant----
The declaratory judgment suit came on for trial before a jury presided over by Judge James J. McKenna. Evidence was presented which indicated, inter alia, that:
1. INA and Scottish and York had issued primary and excess liability policies respectively, to Rentals, Unlimited, Inc.
2. Travelers had issued a liability policy to Media General, Inc. and its subsidiaries which included Mason-Dixon Recycling Corporation.
3. Rentals Unlimited, Inc. and Mason-Dixon had been sued in the Circuit Court for Montgomery County in the underlying tort suit known as Annabelle Smith, guardian of the person and property of Kenneth Wayne Lee v. Commonwealth Recycling Corp., Law No. 62910.
4. ' INA from the inception declined to defend the action because, inter alia, its “liability policy excluded coverage because the plaintiff, Lee, was an employee of the appellant’s insured (Mason-Dixon) who was injured during the course of his employment.”
5. Mason-Dixon was in the business of collecting newspapers for recycling, rented trucks for that purpose from Rentals, Unlimited, and contracted with Manpower, Inc. to arrange for contract employees to service the pickup operation. Mason-Dixon did not have a payroll and, therefore, paid no employees.
6. Through an answer to an interrogatory, Mason-Dixon admitted that Lee was an employee of both Mason-Dixon and Manpower, Inc.
7. While picking up papers in the Silver Spring area, Lee fell from the rented truck and sustained serious personal injury.
8. The policies of Travelers and INA contained provisions excluding coverage for bodily injuries sustained by any employee of the insured arising out of the course of *669 his employment by the insured, as well as exclusions for any obligation which the insured may be held liable for under any worker’s compensation law.
Travelers’ counsel conceded that Lee was on the business of both Manpower, Inc. and Mason-Dixon and did not seem to dispute that, while Lee was an employee of Manpower, he was actually under the control of Mason-Dixon’s agents.
Before Travelers closed its case, the trial court ruled as a matter of law that Lee had been an employee of Mason-Dixon at the time of the accident, “thereby limiting the said Kenneth Wayne Lee to an exclusive remedy in workmen’s compensation with respect to claims against ... Mason-Dixon.” Further, the court ordered that “INA-CIGNA, Scottish & York ... are not required to either defend and/or indemnify ... Mason-Dixon ... for injuries and damages allegedly sustained by Kenneth Wayne Lee.” From that order, this appeal was noted and the following questions were presented by the appellant:
I. Whether the court below erred in directing a verdict in this declaratory judgment action by finding that Kenneth Wayne Lee, the injured plaintiff in the underlying tort suit, was as a matter of law an employee of Mason-Dixon Recycling Corporation at the time of the accident alleged in the underlying tort suit, thereby excluding coverage for Mason-Dixon (and its successor Commonwealth Recycling Corporation) under the INA and Scottish & York policies, when the issue of Lee’s employment was an issue to be decided in the underlying tort suit.
II. Whether Mason-Dixon Recycling Corporation (and its successor Commonwealth Recycling Corporation) is entitled to first and second layer liability coverage under the INA and Scottish & York policies respectively, in the underlying tort suit, by virtue of Md. Transp. Code § 18-102 (1977) and Md. Admin. Code (Transportation) 11.18.01.04.
*670 III. Whether the Insurance Company of North America must reimburse Travelers for fees and costs incurred by Travelers in bringing this action.
IV. Whether the court below erred when it denied Travelers’ motion for summary judgment.
As though the legal issues were not complicated enough, as the fates would have it, the underlying tort suit was settled while this appeal was pending. Seizing upon that fact, INA moved to dismiss the appeal on the theory that it was moot. Obviously, the question of which company must defend Mason Dixon at trial is now moot. Nevertheless, we shall decide whether the circuit court properly denied all relief to Travelers since the pre-settlement duty-to-defend and its attendant consequences survive Travelers’s settlement with Lee.
QUESTIONS I, II AND IV
In our view, these three questions are so intertwined that they will be addressed collectively.
a. The Potentiality of Coverage
The circuit court’s declaration that INA and Scottish & York were not responsible for Mason-Dixon’s defense was based on exclusions contained in the INA policy. Those exclusions read in pertinent part:
We Will Not Cover—Exclusions:
This insurance does not apply to
2. Any obligation for which the insured or his or her insurer may be held liable under any workers’ compensation or disability benefits law or under any similar law.
5. Bodily injury to any employee of the insured arising out of and in the course of his or her employment by the insured.
In arriving at its conclusion, the court first determined that Lee, as a matter of law, was an employee of Mason- *671 Dixon. In the underlying tort action, Lee’s status vel non as Mason-Dixon’s employee would determine whether his remedy was, instead, under the Workmen’s Compensation Statute.
We agree with appellant that the centrality of Lee’s status as an employee in the underlying tort action made it improper for the court to decide the issue in the declaratory judgment proceedings.
See St. Paul Fire & Marine Insurance Co. v. Pryseski,
The obligation of an insurer to defend its insured under a contract provision such as here involved is determined by the allegations in the tort actions. If the plaintiffs in the tort suits allege a claim covered by the policy, the insurer has a duty to defend. Even if a tort plaintiff does not allege facts which clearly bring the claim within or without the policy coverage, the insurer still must defend if there is a potentiality that the claim could be covered by the policy.
Brohawn,
Lee was employed by Manpower, Inc., an agency which utilized ... Lee for the purpose of picking up bound newspapers and trash on behalf of Mason-Dixon Recycling Corporation. That Mason-Dixon, by and through its agents, servants and employees, instructed and/or permitted Kenneth Wayne Lee to ride in the rear of the trucks which Mason-Dixon rented from defendant, Rentals Unlimited, Inc., for the purpose of travelling from stop to stop and placing collected newspapers in the rear of said vehicles. No instruction was given to Kenneth Wayne Lee relative to safety procedures in riding in said trailer by either defendant____ On or about February 12, 1980, while engaged in picking up trash, Kenneth Wayne Lee was a passenger in the trailer of Truck No. 74 ... owned by Rentals Unlimited, Inc. and rented to and operated on behalf of and by the agents, servants, and employees of Mason-Dixon, in the regular course of his employment with Manpower, Inc____ Kenneth Wayne Lee was in the rear passenger side of Truck No. 74 and as said truck was moving from one stop to another, at a speed greater than reasonable and prudent for the circumstances then existing, Kenneth Wayne Lee, through no fault of his own, was thrown from the truck striking his head and rendering him comatose with respiratory insufficiency____ Plaintiff states that the sole and proximate cause of Kenneth Wayne Lee’s condition was the *673 joint and several negligence of the defendant in that Mason-Dixon ... operated the motor vehicle involved at a speed greater than reasonable and prudent and improper and knew or should have known of the dangerous conditions to which passengers in Truck No. 74 were exposed, it caused said passengers to ride in the rear of said truck and further failed to instruct said occupants in safety or to provide safe conditions for said occupants or to train or supervise persons engaged in newspaper pickup in the safe occupation of parcel pickup.
If, on the face of the declaration, there was any doubt as to whether Lee was Mason-Dixon’s employee, INA had a duty to resolve this question in Mason-Dixon’s favor.
See USF & G v. Nat. Pav. Co.,
The language of the declaration can be interpreted to allege that Lee, an employee of Manpower, was riding in a Mason-Dixon truck when he was injured due to the negligence of Mason-Dixon. Significantly, Lee did not allege the existence of a contract between Mason-Dixon as principal contractor of the work he performed and any third party. Yet the existence of such a contract is essential to statutory employment.
See
Md.Ann.Code art. 101, § 58 (1985 Repl.Vol.).
See also Anderson v. Bimblich,
We believe, however, that the evidence and admissions available to the trial judge did indeed establish that Lee was either the employee or statutory employee of Mason-Dixon. While that decision does not affect INA’s duty to defend or anything we have said to this point, it does preclude indemnification. We explain.
b. Mason-Dixon as Lee’s Actual Employer
In making his decision, the trial judge relied exclusively on
Whitehead v. Safway Steel Products,
In Whitehead, the appellant was a laborer employed by a temporary help agency, Bay Services, Inc., which was in the business of supplying unskilled labor to various industrial customers. Safway Steel Products, Inc. contacted Bay and requested two temporary help workers. Whitehead was given the task of loading steel scaffolding onto a trailer and, while he was doing so, a bundle of scaffolding fell upon him, causing serious injury. He filed for and received workmen’s compensation benefits through Bay Services for his injuries, but also instituted a negligence action against Safway for the same occurrence. A jury determined that Whitehead was not an employee of Safway and that Safway was negligent in the operation of its plant. The trial judge granted a motion for judgment n.o.v. because the uncontradicted evidence demonstrated that Safway controlled Whitehead’s work and, thus, Whitehead was an employee of Safway, with his only remedy for occupational injury being through the workmen’s compensation laws. In affirming, the Court of Appeals restated five criteria in determining whether an employer/employee relationship exists between two parties:
(1) The power to select and hire the employee,
(2) The payment of wages,
(3) The power to discharge,
*675 (4) The power to control the employee’s conduct, and
(5) Whether the work is part of the regular business of the employer.
Of the five factors, the factor of control stands out as the most important.
that the control exercised by Safway over Whitehead clearly establishes an employer/employee relationship. Safway instructed Whitehead on the tasks to be performed, supervised his work, and was free to reassign him to any other duties that warranted attention. If Whitehead’s work was unsatisfactory, Safway was free to dismiss him and request an additional worker.
c. Mason-Dixon as a Statutory Employer
If Lee was not the (actual) employee of Mason-Dixon, then he certainly must have been its “statutory” employee.
See Anderson v. Bimblich, supra. See also
Pressman,
Workmen’s Compensation in Maryland
§ 2-4(3) (2d ed. 1977). In
Anderson v. Bimblich,
the appellant, Anderson, was a maintenance man employed by a company which managed an apartment building owned by Bimblich and others. There, we were called upon to decide whether Bimblich, as owner of the apartment building, was a principal contractor within the meaning of the workmen’s compensation laws, and thus the statutory employer of Anderson. There, as here, an employee was injured in the course of his employment for a company supplying the manpower in order to do another’s work. That company paid his wages. Similarly, Manpower, Inc. paid Lee’s wages. Anderson’s daily activities were controlled by the management company, just as Lee’s daily activities were apparently controlled by other Manpower employees under the direction of Mason-Dixon. We observed in
Anderson
that “even if an insured worker has recovered under the Act, he may still sue a person other than his employer in a third-party tort action, but that in order to succeed in the third-party action, Anderson was required to show that the apartment building owners were not his employer. Affirming the trial court’s decision that the owners were, indeed, the statutory employer of Anderson, we repeated the elements necessary to establish statutory employment as explicated by Judge Orth in
Honaker v. W.C. & A.N. Miller Development Company,
There must be:
1. A principal contractor
2. who has contracted to perform work
*677 3. which is a part of his trade, business, or occupation; and
4. who has contracted with any other party as a subcontractor for the execution by or under the subcontractor of the whole or any part of such work.
Under this analysis, we liken Mason-Dixon to the principal contractor who has contracted to perform work for Montgomery County. Mason-Dixon, in turn, subcontracted with another party, Manpower, Inc., to execute part of the overall job, i.e., the picking up of the newspapers and trash.
d. Dual Employment
Even if Lee was simultaneously the employee of Manpower and Mason-Dixon, as admitted by Mason-Dixon at one point below, his exclusive remedy for compensation remains under the Worker’s Compensation Act.
Mackall v. Zayre Corp.,
However we examine Lee’s employment status, his exclusive remedy is under the workmen’s compensation statute. Thus, we conclude that while there may have been the potential need to defend, the exclusion under each policy precludes any duty by INA to indemnify Mason-Dixon. We can conceive of no scenario whereby Mason-Dixon could be considered “some person other than the employer” under Art,. 101, § 58. Thus, although the trial judge should never have reached the issue of Lee’s employment, the subsequent settlement allows us to rely upon the court’s decision to resolve the issue of indemnity. It would serve no useful purpose, and even defies common sense, to remand the case with instructions to the trial judge to review the evidence in order to determine indemnification when he has, albeit prematurely, decided the employment issue. Nor do we see any value in remanding this case on the issue of INA’s duty to defend. We resolved that issue hereinabove merely by assessing the potentiality of coverage as found in the pleadings.
Having determined that INA had a duty to defend but not to indemnify Mason-Dixon, we move now to the issue of *678 attorney’s fees and expenses incurred in defending the underlying tort suit and prosecuting the declaratory judgment.
QUESTION III
Travelers argues that it is entitled to expenses and fees incurred in defending (to the date of settlement) the underlying tort action by Lee and in prosecuting the declaratory judgment action against INA.
Because the costs incurred arise out of two different kinds of actions and their respective recoveries are based on diverse legal theories, we shall address them separately.
a. Costs of Defending the Underlying Tort Action
The right of one insurer to recover from another insurer costs incurred in defending an action that the other insurer was obligated to defend was recognized in the case of
Ryder & Whitehouse,
b. Costs of Prosecuting the Declaratory Judgment Action
In
Bankers and Shippers Ins. Co. v. Electro Enter.,
[W]hether one speaks in terms of its having authorized the expenditure by its failure to defend or whether one speaks in terms of the attorney’s fees for the declaratory judgment action being a part of the damages sustained by the insured by [insurer’s] wrongful breach of the contract, we hold [insurer] bound to pay the fees incurred by *680 [insured] in bringing the declaratory judgment action to establish that [insurer] had not done that which it had agreed with her to do.
Further, it is generally recognized that an insurer is subrogated to claims of its insured against others, whether
ex contractu
or
ex delicto,
once the insurer has indemnified the insured for his loss.
Svea Assurance Co. v. Packham,
In
Gov’t Employees Ins. Co. v. Taylor,
In light of the GEICO decision, we believe the package of rights to which a defending insurer is subrogated includes the insured’s right to recover the cost of prosecuting a declaratory action against an insurer declared to have wrongfully refused to provide a defense.
*681 CONCLUSION
In view of our holding, Travelers is entitled to no contribution toward its settlement with Lee, but INA must reimburse Travelers for reasonable expenses, including costs and attorney’s fees, incurred in defending Mason-Dixon and in prosecuting the declaratory action. The amount of fees and expenses, however, must be established “with the certainty and under the standards ordinarily applicable for proof of contractual damages.”
See Bankers & Ship. Ins., supra
[287 Md.] at 661,
JUDGMENT VACATED; CASE REMANDED FOR FURTHER PROCEEDINGS NOT INCONSISTENT WITH THIS OPINION; COSTS TO BE PAID BY THE APPELLEES.
Notes
. We note here that the Scottish & York policy follows the INA policy as the excess-coverage to the INA contract. Consequently, Scottish & York’s obligations follow those of INA.
. Travelers contends that pursuant to Md.Transp.Code Ann. § 18-102 (1977) and Md.Admin.Code (COMAR, Trans. Title) 11.18.01.04, INA was obligated to defend Mason-Dixon, Travelers’ insured, against Lee’s suit. Those provisions generally require that the insurer of an owner/lessor of a vehicle must provide coverage for anyone using the vehicle with the lessee’s permission. Additionally, the INA policy specifically follows the vehicle in question whereas the truck is not a covered auto under the Travelers policy. These facts further support Travelers’ assertion that there was a potential that the INA policy covered this loss.
