DELIVERED THE OPINION OF THE COURT.
There was introduced in the General Council of the City of Louisville, referred to a joint committee of the Board of Aldermen and Board of Couneilmen, and a report agreed by a majority of that committee to be made in favor of passage of the following ordinance : “ That the Mayor be, and he is hereby authorized to convey by ■deed of special warranty to the Commissioners of the ■Sinking Eund of the City of Louisville, all of the real property fronting on the Ohio river, acquired and held by the city for wharf purposes; said commissioners are to hold said property upon the same trusts and for the same purposes as it is now held by said city, and to have the *98same power over and authority to sell, convey, lease, or otherwise dispose of the same, or part thereof, which said city now has. This ordinance to go into effect from and after its passage.”
But before the ordinance was reported back by the committee, though on the same day of a regular meeting of the General Council, the plaintiffs (now appellants),, commenced this action against the city of Louisville, Mayor, members of the General Council (sued by names), and Commissioners of the Sinking Euud, to obtain an injunction, which was granted, temporarily restraining the General Council passing and the Mayor approving that or any ordinance for like purpose, and the city of Louisville conveying- and Commissioners of the Sinking Fund taking possession of, controlling or interfering with any property acquired or held by the city for wharf purposes..
The plaintiffs, who are numerous, state they are residents and owners of property in said city subject to-municipal taxation, and engaged there in commercial, business; that the city of Louisville has, heretofore, in virtue of acts of the Legislature, and with money procured by taxation, acquired at various places within its corporate limits along Ohio river, land to be held and used, and which has so far been kept and maintained in aid of its-commerce and trade,' for public wharfs, those using them, for business purposes being required to pay wharfage; that although the city of Louisville holds said property for public use without right to transfer to another its-power and duty to preserve and maintain public wharfs, and the Commissioners of the Sinking Fund is without right to acquire or hold it for any purpose, yet the General Council, Mayor and Commissioners of the Sinking *99Fund have wrongfully and unlawfully agreed and conspired together for the city of Louisville to abdicate its right tó and possession of said property, refuse hereafter to preserve and maintain it for the purpose intended, and by deed convey it to the Commissioners of the Sinking Fund, with a view and to the end the latter may sell, convey or transfer it, at discretion, to private individuals, thereby preventing public use of the wharfs, which is indispensable to the business of plaintiffs and others similarly situated.
They further state that said ordinance, already prepared and sent by the Mayor to the General Council in pursuance of the scheme mentioned, will be at once passed, followed by immediate transfer of the property, and irreparable injury thereby done to plaintiffs, unless the injunction be granted; and the Commissioners of the Sinking Fund being insolvent, there will be no adequate remedy at law.
No answer was filed by the Mayor nor any member of the General Council, except A. S. Stoll, of the Board of Aldermen, who, denying he was in favor of the passage of the ordinance, yet admitted it had been sent by the Mayor to the General Council for passage, and would have passed both Boards thereof if the injunction had not been granted.
The city of Louisville, by the City Attorney, answered, denying its alleged want of power to transfer to another the wharf property; and though it was averred the ordinance had, since commencement of the action, been withdrawn, there was no denial it was introduced, referred to> a committee and would have been at, once passed and the purpose of it carried out, but for the injunction.
*100The Commissioners of the Sinking Fund, in its answer, denied the free and uninterrupted use of the wharfs is, as alleged in the petition, indispensable to prosecution of the business of the plaintiffs; and, in substance, averred existence of power in the city of Louisville to transfer, and not only its own power, but, because charged with payment of the city’s bonded debt, also right to hold and control the wharf property and revenues arising therefrom.
It seems to us the pleadings in this case, independent of any testimony, place beyond question that the Mayor, members of the G-eneral Council, or a majority of them, and Commissioners of the Sinking Fund did agree upon the scheme mentioned in the petition for a transfer of the wharf property, and, if not restrained, would have carried it out. And if the power to make such transfer does not exist, that scheme was, as charged, wrongful and unlawful; but whether the injunction sought was in whole or in part the proper remedy, is the question for detei’mination.
The power of a municipal corporation to acquire land for the purpose of erecting wharfs thereon and to charge wharfage, is not a necessary incident of its charter, but must, like all its other powers, be derived directly from the Legislature, of course to be exercised within the limits and upon conditions of the grant. (Dillon, Municipal Corporations, section 110). And looking to the nature and purpose of such special grant, it must be regarded as a trust involving duties and obligations to the public and individuals which can not be ignored or shifted; for the power to acquire implies duty of the municipality, through its governing head, to maintain and preserve wharf prop-
*101erty for the benefit of the public without discrimination or unreasonable charges for individual use.
In every instance, so far as we have observed, wharf property of the city of Louisville has been acquired under act of the Legislature and paid for by taxation; and in no ease is there evidence of legislative intention it should be held otherwise than in trust for use of the public and in aid of trade and commerce.
The wharf property being so held, the city of Louisville can not transfer its title or possession, nor, according to a plain and well-settled principle, can the General Council, which is by statute invested with power of control and burdened with duty of maintaining, preserving and operating the wharfs, either delegate the power or disable itself from performing the duties. (Id., sections 96 and 97.)
It is even more manifest that “ the Commissioners of the Sinking Fund,” which is a distinct corporation created by that name for specified purposes and invested with limited power, can not hold or control the wharf property — authority to do so being nowhere given by its charter — nor would it be either provident or consistent with the purpose of its creation to so invest it.
¥e thus have a case where the defendants have either admitted or failed to deny they were about to jointly do an act, not only in our opinion illegal, but of so serious nature as transfer of the title of real property held in trust by the city of Louisville, and change of its control from the General Council, that has its powers and duties in respect thereto prescribed and defined, to a corporation without right to own or hold it, and which, according to an uncontroverted charge in the petition, is insolvent. It *102is, moreover, apparent there would be, in case of such transfer, great danger of the wharf property being so managed as to impair its usefulness to the public and seriously injure, if not prevent altogether, the successful transaction of the business of plaintiffs and others ; for it is hard to see what is the purpose of the Commissioners of the Sinking Fund in seeking or accepting possession and control of the property, if not to increase revenue therefrom, by increasing wharfage beyond present, and it may be assumed, reasonable rates; or else by lease or transfer to particular persons who, in consideration of special privileges or advantages not enjoyed generally, would pay more than now received.
The plaintiffs in this case are engaged in buying and shipping stone coal to Louisville for sale and delivery, which has to be landed at the city wharfs, and the free use thereof at reasonable charges is obviously indispensable to their business; consequently, they would suffer a special and peculiar injury distinct from that of the public in case of either excessive wharfage or obstruction of free, public use of the wharf property.
It is, says Dillon, the prevailing and almost universal doctrine in this country that property-holders or taxable inhabitants have the right to resort to equity to restrain municipal corporations and their officers from transcending their lawful powers or violating their legal duties in any mode which will injuriously affect the taxpayers— such as making an unauthorized appropriation of the corporate funds, or an illegal or wrongful disposition of the corporate property, or levying and collecting void and illegal taxes and assessments. (Section 91.4.) And, though the question of power to enjoin illegal and wrong*103ful disposition of corporate property has not been, at the suit of taxpayers, directly presented to and decided by this court, the power of equity in such action to restrain the levying and collecting void and illegal taxes, which is founded on the same principles, has been distinctly recognized and sustained.
Therefore, if, when this action was instituted, the ordinance in question had been already passed, it could undoubtedly have been maintained against the Mayor and •Commissioners of the Sinking Fund, restraining the former from conveying, on behalf of the city of Louisville, title of the property, and the latter from taking possession •of or interfering with it; for the plaintiff had legal capacity to bring and prosecute the action, an act not only illegal, •but of irreparable injury to them, was intended and about to be committed, and they would have had no adequate remedy at law. But it is contended in argument and seems to have been the ground for dismissing the action, that a court of equity will not enjoin passage by a municipal body of an ordinance or resolution.
In High on Injunctions, section 1243, relied on by counsel, it is said: “ It is unquestionably true that purely legislative acts, such as the passage of resolutions, or the adoption of ordinances by a municipal body, even though alleged to be unconstitutional and void, will not be enjoined, since it is not the province of a court of equity to interfere with the proceedings of municipal bodies in matters resting within their jurisdiction, or to control in any manner the exercise of their discretion. A distinction, however, is properly drawn between the case of restraining an alleged act attempted under the authority and sanction of a municipal body and restraining the cor*104poration itself from granting such, authority.” But in the same section it is conceded that “the question of. equitable interference by injunction with the legislative-action .of municipal bodies has given rise to some apparent-conflict of authority and is not wholly free from doubt.”
It is said by Dillon, section 308, “ to be settled that it is competent for the Legislature to delegate to municipal corporations the power to make by-laws and oi’dinances with appropriate sanctions which, when authorized, have, the force, in favor of the municipality and against persons-bound thereby, of laws passed by the Legislature of the State.” And, in a note, cases are cited in which is stated the general proposition that courts will not enjoin the-passage of unauthorized ordinances and will ordinarily act only when steps are taken to make them available.
Of course if every municipal ordinance has the quality- and force of a law of the State Legislature, courts of equity would be without power to enjoin or otherwise interfere with passage of any, because, on account of the-peculiar structure of the State government, each of the three departments thereof is distinct and acts in its own. sphere independent of the others. But the power delegated to a municipality to legislate is not, as to all subjects, absolute, even within corporate limits. On the contrary, it is not only restricted by statute but also subordinate to settled principles of law and equity, in view of which it is presumed to be delegated; for such a corporation is created for a double purpose and consequently has a dual character — one governmental or public, the;other private or proprietary. As said in Oliver v. Worcester, 102 Mass., 489, “ the distinction is well established! *105between the responsibilities of towns and cities for acts done in their public capacity in the discharge of duties imposed on them by the Legislature for their public benefit, and for acts done in what may be called their private character, in the management of property and rights voluntarily held by them for their own immediate profit and advantage as a corporation, although inuring, of course, ultimately for the benefit of the public.”
It was in reference to its governmental or public character that it was, in the case of the City of Louisville v. Commonwealth, 1 Duv., 295, held that a city or town in this State, “to the extent of the jurisdiction delegated to it by its charter, is but an effluence from the sovereignty of Kentucky, governs for Kentucky, and its authorized legislation and local administration of law are legislation and administration by Kentucky, through the agency of that municipality.” But a municipal corporation, when holding in its. private or proprietary character property or funds in trust for taxpayers and inhabitants within its limits, occupies toward them a relation like that of a purely private corporation to its cestui que trust, who are its share-holders; for in each case the corporation, or its governing body, is a trustee; and if creditors, or shareholders, may maintain an action against the board of directors, the governing body, of a private corporation, to prevent or avoid an illegal and wrongful act, as unquestionably they can do, why may not taxable inhabitants maintain one against a municipal corporation and its governing body, the City Council or Board of Trustees, to prevent as well as avoid an act illegal and wrongful, done, or about to be done, in relation to property or funds held in trust ?
*106In High on Injunctions, section 1241,is this language: “ The restrictions thus placed upon equitable interference with the action of municipal corporations do not extend to cases where the act sought to be enjoined is in excess of the corporate power, but are limited to cases of a conceded jurisdiction, within the bounds of which the municipal power is acting. And while it is thus shown equity will not enjoin the action of municipal corporations while proceeding within limits of their well-defined powers as fixed by law, it has undoubted jurisdiction to restrain them from acting in excess of their authority and from the commission of acts ultra vires.” Though it is not quite clear from the language used whether the test of jurisdiction is meant to apply to acts of municipal corporations done as well in their public as private character, it is manifest such restraining power, to be effectual, must operate upon the General Council of a city or Board of Trustees of a town; for acts done in excess of authority, or ultra vires, can not be committed by a corporation except by its governing body or head. And such must have been intended to be the meaning and scope of the proposition, for several leading cases in England are cited in which the power of a court of equity to enjoin passage of an illegal ordinance is distinctly recognized.
The case of Des Moines Gas Co. v. The City of Des Moines, 44 Iowa, 505, cited by counsel, was as to the power of equity to enjoin passage of an ordinance repealing a former one under which a contract had been made with the plaintiff. It was held by the court that the municipal council had in reference to the matter discretionary power and was acting within the scope of it, and was neither violating a trust nor doing an irreparable *107injury to the plaintiff. And though it was there said in general terms that the ordinance in question bad the force of an act of the Legislature and could not be enjoined, it was still conceded that one creating a public nuisance might be, because it could not be a rightful subject of legislation and the mischief therefrom might be irreparable, which was in effect a concession of the power in ■every case of like conditions.
In the People, &c., v. Dwyer, 90 N. Y., 402, it was, upon principle and authority of previous decisions in that State, held that while equity will not ordinarily interfere with matters resting largely in the discretion of municipal authorities, when the threatened action will produce irreparable injury, and consists in an illegal grant, or the disposition of property, by devoting it in whole or in part to the use of a private corporation, or where an illegal grant is threatened, or the action attempted is corrupt and fraudulent and an abuse of trust, the court may interfere by injunction to restrain passage of an ordinance for the purpose.
In our opinion, the general proposition that a court of •equity may not enjoin passage of a municipal ordinance, must be confined in its application to subjects over which the corporation in its governmental or public character has discretionary authority. And if it be'conceded taxable inhabitants have a right to resort to equity, at all, to restrain a municipal corporation and its officers from making an illegal or wrongful disposition of corporate property, whereby the plaintiffs will be injuriously affected, it reasonably follows the power exists to enjoin passage of the ordinance authorizing the act whenever irreparable injury will be done to the plaintiffs, and they have no *108adequate remedy at law; for, from its nature, a preventive remedy may be applied at the inception of a wrongful act; in fact, when it is about to be done or is threatened.
There may, however, be subjects in relation to which the municipal corporation has discretionary power to. legislate, and with which courts of equity upon grounds of expediency and policy will not interfere in the absence of fraud or breach of trust. But this is not such a case ; for the plain legal duty is imposed upon the General Council to hold, control and manage the wharf property for use of the public, which can not be evaded by transfer of it or otherwise. Yet, passage of the ordinance in question might have been, if it was not actually intended to be, followed so soon by transfer of the property as to put it out of the power of the plaintiffs and all other parties aggrieved to prevent consummation of the wrongful act.
We think a court of equity has not only the power to restrain passage of an ordinance authorizing an illegal or wrongful disposition of property acquired and held, as is the case of the wharf property, but, if needful, compel the General Council to perform the duty of preserving, protecting and maintaining it for the purpose intended, though, of course, leaving it to the discretion of that body as to the manner of discharging its trust.
It is stated, in the answer, that the ordinance was withdrawn after commencement of the action, and was not before the General Council when the trial was had. But as the plaintiffs had a cause of action, withdrawal of the ordinance did not have effect to defeat their right to the relief sought, especially as another ordinance of the same *109character may be hereafter introduced and passed, unless fhe right to do so be perpetually enjoined.
The judgment dismissing the action, being, as already indicated, erroneous, is reversed and cause remanded for proceedings consistent with this opinion.