delivered the opinion op the court.
The city council of Covington having as a legislative body the complete control of the streets, lanes, alleys, wharves, landings, etc., within the *423•corporate limits, with, the right to pass such ordinances and by-laws as may be necessary for the .better government of the city, and to legislate on .all subjects that the good government of the city •may require, and affix penalties for the violation of its ordinances not exceeding fifty dollars, on the ■eighth of February, 1883, enacted an 'ordinance declaring “it unlawful for any person, unless by •ordinance, resolution, or written authority of the ■council, or under the laws of Kentucky, to hold the exclusive possession of any of the streets, lanes, alleys, commons, spaces, squares, wharves, or landings belonging to the city of Covington, or any part thereof.” '
The penalty for a violation of the ordinance is the imposition of a fine in the mayor’s court of .fifteen dollars for each twenty-four hours' the person charged may be found guilty of a violation of .the ordinance, and the costs of- proceeding, etc.
In a few days after the passage of this ordinance a .warrant was issued in the name of the ■city against the appellant, charging him with violating its provisions. The case was heard in the mayor’s court, and a fine imposed on the appellant ■of fifteen dollars, from which an appeal was taken to the quarterly court and dismissed for want of jurisdiction. Another warrant was then issued for a further violation of the ordinance by the appellant, and soon after as many as twelve or fifteen •complaints entered against him by the city, involving his disregard of the ordinance, and asking for .a summons against him.
*424The appellant then filed his petition in the Kenton Circuit Court under section 1, article 9, of the city charter, for the purpose of testing the validity of the ordinance. By a provision of the city char" ter the validity of an ordinance may be determined by a writ of prohibition from the circuit court, or by the court having jurisdiction over said city, with the right of either party to prosecute an appeal, and, therefore, the jurisdiction is conferred by the charter, and. the mayor may be prohibited from imposing the fine or proceeding under the ordinance until the ordinance is pronounced valid by the court from which the writ of prohibition comes.
Under this writ of prohibition, which seems to be the remedy provided by the charter where the-validity of the ordinance is called in question, the court below was asked not only to determine the-right of the mayor to impose the fine, but also to-determine the right of property between the city and the appellant, although the ordinance should be adjudged valid.
This position is sought to be maintained on the ground that the ordinance was passed with a view to harass and annoy the appellant with warrants for-the purpose of imposing the penalties for violating the ordinance, from which there was no appeal, until the appellant would be driven to abandon his right of property as against the city. It is alleged in his petition that the ordinance was enacted for the sole purpose of depriving appellant of his rights; that he is a resident and coal dealer in the city of Cov*425ington, and that since 1874 he has used the bank of the river between Scott and Madison streets for the purpose of mooring his boats, floats, etc., from which he delivered his coal to the citizens of-Covington; that the space between the two streets, from Front-street to low water-mark in the river, was the subject of an action of ejectment by the city of Covington against McNickle’s heirs, and that by the judgment in that case, rendered in 1871, the defendants in the action were given the possession and use of the property for the period of twenty-five years, provided they kept their rolling-mill thereon; that the' heirs of McNickle leased this property and rolling-mill to Kyle, and in 1874 the appellant entered under' Kyle, by which he was to have the right to use the' river bank *and to furnish coal to the mill.
It is further alleged that the city has never established a wharf, or provided a landing of any kind at this point, nor graded, paved, macadamized or furnished any means of mooring crafts, or of transporting their contents from there to any part of the city; that this property is only a common, and not used by himself exclusively, nor the right denied by him to others ; that the city of Covington had leased the ground to Waterman & Woods, and agreed to place them in possession, and in the refusal to surrender possession by appellant originated the ordinance under which these fines are being imposed; that the property being a mere common, and not opened or used as a wharf or street, the city is. enforcing this penal ordinance against appellant that its lessees may have the exclusive use of the prop*426■erty. The warrants were issued for violating the ■ordinance, in holding and exercising the exclusive use of the landing.
We perceive no objection to the ordinance under which the penalties in this case have been imposed. The right of the council to pass such an ordinance is not questioned by counsel for the appellant, and .as it is universal in its application, affecting all alike living within the corporate boundary, it is not to be presumed that the only motive influencing the members of the city council to pass the ordinance was to .annoy the appellant, and thereby deprive him of the use of the river bank.
There is nothing unreasonable in any feature of this law of the city, and no provision of it in •violation of the city charter or the organic law of the State. It is to punish those who undertake to hold the exclusive use of the wharves, landings, ¡streets, commons, etc., over which the city authorities have control, and to adjudge such an ordinance invalid would in effect take from the city legislature the power of' controlling the use of its •streets and public thoroughfares, and of punishing those who assume to use or control them without right.
Although the council in this case have been ■charged with fraud in enacting the ordinance, and we see no reason why the validity of an ordinance may not be assailed on the ground of fraud, still there are no facts in this record conducing to ■establish such a charge, nor would the court below "have been authorized on the hearing of the writ of *427■prohibition to listen to extrinsic evidence or facts alone applicable to the appellant for the purpose ■ of determining an ordinance invalid as to him, but still valid as to all other citizens of the corporation.
The ordinance can not be determined invalid upon testimony showing that it is oppressive, or works .a hardship to the person who has obtained the ■writ. The validity of the law or ordinance is in • such a case alone the subject of inquiry. Had the city council the right to pass such an ordinance is the question to be determined, and no •other.
That it may affect injuriously in some way one or more citizens who are complaining, does not make such an ordinance invalid, and while the act of a municipal corporation in the form of an ordiance may be impeached for fraud, says Mr. Dillon, in his work on Municipal Corporations, section 230, still there is nothing in this case, conceding the allegations of the petitioner to be true, that would ¡authorize the court to presume the existence of a fraudulent purpose by the cotmcil in the passage of the ordinance; and to direct such an inquiry as to an ordinance clearly within the exercise of the corporate power and general in its character, would oonduce to make legislation for the public good subordinate to individual interests.
The ordinance being valid, the writ of prohibition was not the proper remedy.
The appellant filed an amended petition, asking .for an injunction restraining the city from prose-*428outing the penal actions against him on the motion for the writ of prohibition, and also for an injunction. Upon the facts alleged the appellee, the-city, appeared, and filing its demurrer, that was sustained, the court dismissed the petition, the appellant declining to amend.
The facts stated entitled the appellant to an-injunction restraining the city from proceeding under its warrants until the controversy as to the use and possession of the property in question-could be determined. Here was a controversy between the city and the appellant as to the use-of the river bank as a harbor for his coal-boats-in common with others. There was no wharf or city landing at this point — no street or any way-belonging to the city obstructed, but the use in-common with those who had coal and flat-boats1 on the river by using the shore as a place of fastening-their boats, and of loading and unloading them when they saw proper.
No right of the city had been invaded by the appellant; but, on the contrary, the latter had used' this part of the river bank as a matter of right. The judgment against the city in January, 1871, gave to the heirs of McNickle the possession and use of" the premises for twenty-five years, and the appellant entered under the claim of McNickle’s heirs in-1874.
The facts alleged in the petition are all admitted by the demurrer, and present a case where the city must adopt a civil remedy for relief if the facts alleged are not true, or litigate the right of the-*429•appellant to the nse of the property in the present .action. .
Pines and penalties can not be imposed against •one who is rightfully in possession under the ordinance in question. It is intended to punish the trespasser, or those who, without right, are appropriating the property of the city to their own use, •but can not be enforced against one who has the right to the use. The decision upon the warrant in the mayor’s court does not determine this right; but df the facts alleged are true, the appellant is being punished by fine for exercising a right of which he •can not be deprived without due process of law, ;and which he was éxercising at the time the ordinance was passed. His ordinary remedy against the ‘city for the wrong complained of would not stay proceedings upon the multiplied warrants against him, and in such a state of case we see no reason why a court of equity should not entertain jurisdiction, and stay all proceedings on the warrants •until the matters alleged in the petition are heard .and determined.
The aid of a court of equity cannot be invoked so as to interfere with proceedings of subordinate tribunals, unless to prevent irreparable injury or a multiplicity of suits. (Ewing v. City of St. Louis, 5 Wallace, 413; The Mayor of Brooklyn v. Meserole, 26 Wend., 132.)
The ordinance passed by the city is not void, but in accordance with law, and without any discrimination in its provisions as between the citizens of- Covington, and the real ground for going into a court *430of equity is the illegal use made of this ordinance-against a party who is without remedy at law, and who must be compelled to surrender his right to the use, title and possession of property in order-to avoid the imposition of penalties upon him that, when enforced, must work irreparable injury.
It can not well be said that the city or its.authorized agents are -trespassers when the proceeding-against the appellant is by warrant for a violation of the ordinance, and the judgment rendered by a court having jurisdiction over the subject-matter and. the parties.
In the case of the Trustees of Louisville v. Gray, reported in 1 Littell, 147, Cray attempted to build a warehouse upon ground to which he claimed title, and the city authorities, claiming that the wall of the building was on a street of the city, proceeded to enforce the penalty of four dollars and costs-against Cray for the obstruction. Cray obtained an injunction, that was perpetuated, upon the-ground that he and not the city was vested with the title, and this court affirmed the judgment, holding that a court of equity could entertain the-jurisdiction for the purpose of quieting the title.
In this case no action at law can be maintained for an entry on appellant’s possession, for none has. been made. He has no appeal from the judgment of the municipal court enforcing the ordinance, and is met with a warrant, in the name of the city, under which he is fined fifteen dollars for each twenty-four hours that he uses the river bank, or permits, his boats to remain there. By this mode of pro*431ceeding the civil remedy by the city is ignored,, and the appellant compelled to abandon the possession in order to avoid the penalties. The injury is irreparable, and a court of equity should not hesitate'to grant the relief.
The judgment is therefore reversed, and the cause-remanded, with directions to overrule the demurrer- and award the injunction, etc.