Government Article, the Attorney General was authorized to represent Mr. Shaw in the antitrust case. The Attorney General also requested sanctions.
Following a hearing in the declaratory judgment case, the circuit court orally stated that the representation by the Attorney General’s Office was authorized and that the Attorney General was entitled to fees and costs. A judgment, dismissing the declaratory judgment action with prejudice, was entered on the docket. Turnpike took an appeal to the Court of Special Appeals. Before any proceedings in the intermediate appellate court, this Court issued a writ of certiorari.
As just stated, the circuit court in the declaratory judgment action purported to decide the merits of the disqualification issue. If it had been appropriate for the circuit court to have reached the merits, the court should not have dismissed the declaratory judgment action. It should have filed a declaratory judgment. See, e.g., Broadwater v. State, 303 Md. 461, 465-470, 494 A.2d 934 (1985); Jennings v. Government Employees Ins., 302 Md. 352, 355-356, 488 A.2d 166 (1985).
It was not, however, proper for the circuit court to have reached the merits of this declaratory judgment action. Where there exists a pending action presenting an issue, a party to that action ordinarily may not obtain a resolution of the issue by filing a separate declaratory judgment action. Use of the declaratory judgment procedure to evade the final judgment requirement for appeal will not be permitted. Haynie v. Gold Bond Bldg. Products, 306 Md. 644, 511 A.2d 40 (1986).
JUDGMENT OF THE CIRCUIT COURT FOR FREDERICK COUNTY VACATED, AND CASE REMANDED TO THAT COURT FOR ENTRY OF A JUDGMENT DISMISSING THE DECLARATORY JUDGMENT ACTION WITHOUT PREJUDICE. APPELLANT TO PAY COSTS.