Opinion op the Court by
Affirming.
*510 . Appellants, business partners, filed suit for a declaration of rights and a writ of mandamus against: “Board of Councilmen of the City of Frankfort, Hon,. A.-C. Jones, Mayor, and Hon. Mervin Parrent, Clerk; Respectively of said City.”
Appellants alleged that they owned property located in- the City of Frankfort; that they proposed to erect certain structures on this property and to operate a stockyard thereon; that they made application to the Board of Councilmen of the City for a permit to erect such structures and applied to the City Clerk for a license to operate the stockyard; that both applications were rejected; that a certain section of a “Building Ordinance” and the entire “Stockyard Ordinance” enacted by the Board of Councilmen, under which their application was rejected, were unauthorized, illegal, inr valid, void and of no effect.
Appellants thereupon prayed that the Court: (1) Adjudge the ordinances void, (2) adjudge appellants entitled to a permit to remodel existing structures and construct additional structures upon their property, (3) adjudge appellants entitled to a license to operate a live stock market, (4) issue forthwith a writ of mandamus “commanding said board of councilmen to issue said building permit and commanding defendant, Mervin Parrent, Clerk, to issue said license.”
The Court below; sustained both a special and a, general demurrer to appellants’ petition. We consider it -rather unusual practice for the lower ■ Court to have passed on the general demurrer after sustaining the special demurrer, but we have decided that the judgment should be affirmed.
- We will first take up the mandamus aspect of this law suit. As noted above, appellants pray that the Board of Councilmen be compelled to issue them a building permit. Appellants failed to make the individual members of the Board parties to this action. Such' being the case, the Board is not before the Court, and its .members neither have ah opportunity to defend themselves in their official capacity nor are there any defendants aghinst whom to enforce1 the Court’s order,’if the !writ w;as granted. - ’
*511
In Montgomery County v. Menifee County Court,
“Here tfie appellant seeks to.compel by mandamus tfie performance of a ministerial duty; and it seems td us tfiat tfie delinquency complained of is tfie refusal of tfie individual officials intrusted with tfie performance of tfiat duty to execute it; and such, persons should be sued by name, in order tfiat tfie court might determine whether' or not they are tfie proper persons to perform tfiat duty, and to command them to perform it. ”
In James v. Judge of Jefferson Circuit Court, Chancery Branch, First Division,
In Monroe County Court v. Miller, County Judge,
“No mandamus could be obtained in such an action for tfie reason that tfie members of tfie fiscal court aré necessary parties defendant in an action for a mandamus. ’ ’
See also King v. Kentucky Board of Pharmacy et al.,
In view of tfie above decisions, appellants could not obtain a writ of mandamus against tfie Board of Councilmen without making tfie members thereof, by name, parties defendant. As tfie prayer to relief against the Clerk is obviously secondary to the relief asked against *512 the Board of Councilmen, it would be futile to proceed against him alone.
With respect to appellants’ prayer for a declaration as to the validity of the ordinances, it is likewise obvious that there is a defect of parties. Since appellants attack the legislative acts of the City of Frankfort, certainly the City should be a party defendant. Strangely, appellants’ counsel in his reply brief, on page 3, admits that the City of Frankfort is the real party in interest. Apparently counsel is laboring under a very grave delusion. He evidently believes that because he sued the City’s Mayor.he was suing the City. This is a strange concept indeed. Nowhere in the pleadings or orders of the Court or in the Statement of Appeal does it appear that the City of Frankfort is a party to this litigation. Under such circumstances, the lower Court would have no right to inject it into the case by implication or enter any judgment affecting its rights.
The provisions of Section 639a—9, Kentucky Civil Code of Practice, providing that interested parties shall be made parties in a declaratory judgment suit is mandatory. Commonwealth ex rel. Meredith, Atty. Gen., v. Reeves, Commissioner of Revenue, et al.,
The Franklin Circuit Court properly sustained the' special demurrer to appellants ’ petition.
We will not undertake to determine the propriety of sustaining the general demurrer, but will point out that insofar as the two defendants in this action are concerned, the petition does not appear to have stated a cause of action. Our affirmance of this judgment^ will not therefore constitute a determination of the validity of the two ordinances set out in appellants’ petition, as such question could only be passed upon in an action brought against the proper parties.
The judgment is affirmed.
