By the general and special exceptions to the petition, the questions presented were:
1. Did the city have the power to make with defendants the contract upon which this action is founded?
2. Did the defendant corporation have power to enter into such contract?
3. If such power in either of the contracting parties was lacking, were the defendants, under the allegations, estopped from asserting that fact to defeat a recovery ?
The suit was upon a bond executed by the defendant company as principal, with the other defendants as sureties, to secure the performance by such corporation of the obligations assumed by it under a lease from the city of all “wharf and water privileges” belonging to it.
The allegations of the petition, stating the facts out of which the questions arise, are in substance, that by the amended charter of the city, granted in 1860, it was provided, “That the city shall have the power and privilege of opening all the streets running east and west on the bay side of the city to the channel inside the reef in front thereof; and shall also have the power and right to construct, erect, maintain, and own the wharves or piers at the end of such streets as they may deem proper; and shall have the power to fix the rates of wharfage and to collect the same on all goods, wares, and merchandise *97landed upon said wharves or piers, and to bring suit to recover the same before any court having jurisdiction of the amount in controversy; that said city shall have the power to fill up such portions of the flats covered by water, between ordinary low tide water mark and the channel inside the reef in front of the city on tlie bay side, as the corporation may deem necessary, for public purposes; the State of Texas hereby relinquishing and releasing unto the corporation of the city of Corpus Christi, all the rights and privileges above mentioned; provided, that the provisions of this section shall not be so construed as to effect in any manner any pre-existing right in any other party.” That by a further amended adoption in 1873 it was provided, that the city “shall have and enjoy all the rights and immunities, powers, privileges, and franchises now possessed and enjoyed by said city, and may take, hold, and purchase, lease, grant, and convey, such real and personal property or estate as the purposes of the corporation- may require within or without the limits thereof; and that all rights, powers, privileges, franchises, and property theretofore possessed or vested in the city should continue,” etc. That the defendant, the Central Wharf and Warehouse Company, was by its charter of June 1, 1873, authorized “to rent, or acquire by purchase or otherwise, all water rights and property for wharves and warehouses,” etc. That on the 7th day of August, 1875, the defendant company did lease from plaintiff all and every right, title, claim, privilege, and franchise held and owned by plaintiff under the Act of the Legislature granting to it the wharf and water privileges above stated; and that such lease made the defendant company the agent and lessee of the city for the use,-enjoyment, and profits of the wharf privileges for twenty years, commencing on the 1st day of September, 1875, and ending on the 31st day-of August, 1893. (There is a confusion of dates here, which is not material.) This lease is attached to the petition, and contains many provisions and stipulations by which the city reserved, to a considerable degree, control over the construction and operations of the wharfs by the company in the use of the franchise and privileges let to it. These need not be stated, as the action is not based on that contract. Under it the city was to receive a portion of the earnings of the wharf company.
The petition proceeded to state, that on the 6th day of June, 1881, there was an amendment or modification of the lease, by which it was agreed that the consideration to be paid by the wharf company from April 1, 1881, to August 31, 1892, should be the sum of $4000 per annum, in installments; and that the company executed the bond sued on, with the other defendants as sureties, to secure the performance of its undertaking; and that under such agreement it had entered into and held possession, use, and enjoyment of the wharf and water privileges of plaintiff up to October 1,1893, and had enjoyed the profits and revenues of same under the lease, and had paid the sums due as rent up to April, 1891.
*98The ordinance of the city, through which the original contract was changed and the bond of defendants executed, is attached to the petition. It would be tedious to state its provisions in detail. The effect of the ordinance is to relinquish to the control of the wharf company for the period mentioned all wharf and water privileges belonging to the city, and to empower the wharf company to establish such rates of charges as its “interests, business, or necessities may demand,” with only the two restrictions, that such rates should never exceed eight cents per barrel of five cubic feet, and that no vessel should ever be subject to charge for lying alongside the wharves embraced in the lease.
It is proper to remark that the ordinance of 1881 amended by sections that of 1873, under which the original lease was effected. That ordinance is not attached to the petition, and without it we can not well asceitain what provisions of the original lease, if any, remain in force. The decision, however, is based upon the effect of the stipulations in the last contract.
The grant to the city of Corpus Christi contained in the Act of 1860 does not seem to have been of the fee in the soil to the channel of the bay. By the terms of the act, the “power and privilege” of opening streets, the “power and right” to construct, erect, maintain, and own “wharves,” etc., “the power” to charge wharfage, “the power” to fill up flats, are granted; and all of these powers are granted for public purposes. Whether or not the grant was of the soil is not, however, very material to the decision. While proprietary rights in the franchise granted to the city, and in the wharves, piers, etc., to be constructed by it, are doubtless created by the act, it is nevertheless true, that governmental powers are also bestowed upon it to be exercised for public benefit, and the property rights conferred upon it are conferred in trust for public purposes. Says Judge Dillon: “But powers and franchises of an exceptional and extraordinary nature may be and sometimes are conferred upon municipalities, such as are frequently conferred upon individuals or private corporations. Thus, for example, a city may be expressly authorized in its discretion to erect a public wharf and charge toll for its use, or supply its inhabitants with water or gas, charging therefor and making a profit thereby. In one sense such powers are public in their nature, because conferred for the public advantage. In another sense they may be considered private, because they are such as may be and often are conferred upon individuals,” etc. 1 Dill. Mun. Corp., sec. 27.
The power to provide for the improvement of the harbor of Corpus Christi and for the erection and maintenance of public wharves, and for the regulation of charges for their use, was essentially legislative, and belonged to the Legislature of the State.
By the act in question, it was relinquished to the local government of the city, to be exercised in its legislative discretion for the best interests of the people. Such powers as these, when conferred upon *99municipal governments, can not be delegated, surrendered, or bartered away.
“The principle is a plain one, that the public powers or trust devolved by law or charter upon the council, or governing body, to be exercised by it when and in such manner as it shall judge best, can not be delegated to others.” 1 Dill, on Mun. Corp., sec. 96. This principle is recognized by our Supreme Court in the case of McDonald v. Railway, 60 Texas, 591, in which it is said, that the right of the city to control a ferry, of which the land and appurtenances were owned by it, was restricted “by the fact that as a municipal corporation, in so far as it held the property as an agency of the State for public purposes, it could not surrender its control and supervision of such property into the unrestricted management and control of some other person.” The same principle was applied in a case very like this in Matthews v. The City of Alexandria, 68 Missouri, 115.
It is true that a city may do by agent many things which it is empowered to perform, as illustrated by the authorities'just referred to,, as well as by the case of Morris and Cummings v. The State, 62 Texas, 235, and many others that might be cited.. In order to build and operate the wharves, piers, etc., and do other things specified in its charter, it was necessary for it to employ agents. But without express authorization from the Legislature it could not surrender the exercise of the powers granted to it into the unrestricted control of any person, and thus abandon the discretion which it was expected at all times to employ.
The fact that a maximum rate of charges was prescribed, and that it was stipulated that vessels should be allowed to lie at the wharves free of charge, does not alter the case. This was an exercise of a portion of the legislative power intrusted to the city, but it did not justify the surrender of the residue to the wharf company for the term of the lease. It was of the essence of this power, and of the duty which resulted, that the city should be at all times free to alter these regulations or make others, as the interests of the public demanded. Waterbury v. The City of Laredo, 68 Texas, 576.
We find no provision in any of the legislation referred to which alters, as to the city, the well settled doctrine announced in these authorities. The power to “take, hold, and purchase, lease, grant, and convey, such real and personal or mixed property or estate, as the purposes of the corporation may require,” is an ordinary one granted to most corporations. Without express grant it arises by implication, where the ownership of property is essential to the purposes for which the corporation is created, and such a grant can not be construed to authorize the surrender of governmental powers held for the public advantage. 2 Dill. Mun. Corp., sec. 561.
Our conclusion is, that the contract sued on was beyond the powers of the city. It' is claimed also by appellees, that the allegations in the petition do not show authority in the wharf company to take the lease. *100The allegations do not affirmatively show that the leasing of the wharf and water privileges in question were essential to the objects and purposes for which the company was created. They do show, however, that the company had authority to rent or acquire by purchase or otherwise water rights and property for wharves, etc., and as will be seen further on, this is sufficient for the purposes of the case, under the view which we take of it.
Delivered September 13, 1894.
The next question is, can the defendant, under the facts alleged, set up the want of power in the city to make, and in itself to take, the lease?
It appears that the contract has been fully executed and performed on the part of the city. The defendant has received the full benefit of the lease by holding and using the property, with all of the rights and privileges for which it is stipulated, until the term has expired. Under such circumstances, the rule established by the later and better authorities is, that it will not be allowed to free itself from liability by setting up want of power in the city or in itself to make the contract. There was nothing immoral or illegal, in the sense of an infraction of a positive jjrohibition of law, in the action of either party. At most, their action was in excess of the powers conferred. The restrictions upon the powers of the city government are imposed by law for the protection of the inhabitants of the city and the general public. By proper proceedings, taken by the right parties in due time, all such transgressions of power may be promptly remedied. But when such contracts have been allowed to stand until fully carried out, it does not lie in the mouth of the party who received their benefits to urge the defense of ultra vires. To permit it would be to allow him an unjust advantage, to the detriment of those for whose protection the law, which he has disregarded, was established. We therefore are of the opinion that the defense urged by the exception is not open to defendant, if the allegations are true; and this applies as well to the denial of its own power to take the lease as to its assertion that the city had not the power to make it. Bige. on Estop., p. 465; 7 Am. and Eng. Encyc. of Law, p. 29; Beach on Priv.. Corp., secs. 421-426, 432, 433; Bond v. Terrell Mfg. Co., 82 Texas, 309.
The judgment is reversed and the cause remanded.
Reversed and remanded.