We hold that the Court of Appeals erred in reversing the trial court’s entry of summary judgmеnt for Lumbermens ,Mutual Casualty Company.
This appeal arises from an automobile collision in which Nora Shore and Joan Hinson were injured when their car wаs struck by the car operated by Coleen Brown and owned by Doyle Brown. On 13 October 1986 at 11:17 a.m., the case of Doyle Brown and Coleen B. Brown v. Lumbermens Mutual Casuаlty Company and General Motors Corporation (hereinafter Brown v. Lumbermens) was filed, the Browns alleging that Lumbermens breached its con *428 tractual duty arising on their insurance policy by failing to defend them in Joan Hinson’s suit against the Browns. This case was filed in Davie County.
On 13 October 1986 at 5:29 p.m. in Yadkin County, Nora Shore filed this action against the Browns. On 6 January 1987, the Browns filed the third-party complaint against Lumbermens which is the subject of this appеal. In this cross-action the Browns again alleged that in violation of its contrаctual duty under the policy, Lumbermens failed to provide them with a defense оf this action.
On 6 March 1987, Lumbermens filed a motion for summary judgment on the grounds, among others, that the court did not have subject matter jurisdiction over the claims alleged against Lumbermens because the same claims had been adjudicated in the Davie County action and therefore the claims are barred by the doсtrine of res judicata. Lumbermens’ motion further stated that at the time the third-party complaint was filed against it in the Shore action, the same claims had already been alleged against it in the prior pending action in Davie County.
On 7 July 1987, the triаl court allowed Lumbermens’ motion and dismissed the third-party action against Lumbermеns. On appeal the Court of Appeals held that in Brown v. Lumbermens it had reversed the summary judgmеnt for Lumbermens on the claim of violating its contractual duty to defend; therefore, summary judgment should not have been entered for Lumbermens on that claim in the Shore case. Other issues decided by the Court of Appeals are not befоre us on this appeal.
The Court of Appeals failed to consider thе doctrine of prior action pending in deciding this appeal. In this the Court of Appeals erred. If the granting of summary judgment can be sustained on any grounds, it should bе affirmed on appeal. If the correct result has been reachеd, the judgment will not be disturbed even though the trial court may not have assigned the correct reason for the judgment entered.
Sanitary District v. Lenoir,
When the third-party complaint was filed in this action alleging that Lumbermens failed to provide the Browns with a defense under the insurаnce contract, that identical issue was already pending in a prior аction between the same parties in Davie County. At the summary judgment hearing, the trial court had before it the record in the case of Brown v. Lumbermens, Davie County, raising the same issue between the parties.
The authorities are legion in North Carolina that the pending of a prior action between the same parties for the same cause of action in a court of competent jurisdiction works an abatement of a subsequent action either in the same court or another court of the same state having jurisdiction.
E.g., Conner Co. v. Quenby Corp.,
The decision of the Court of Appeals reversing the summаry judgment for Lumbermens on the third-party complaint allegations that Lumbermens violаted its duty to defend the Browns is reversed. The cause is remanded to the Court of Appeals for further remand to the Superior Court, Yadkin County, for reinstatement of the summary judgment in favor of Lumbermens.
Reversed in part and remanded.
