after making the foregoing statement of facts, delivered the opinion of the court.
The defendant in error makes no objection to the form in *548 which the question to be decided comes before us. Whether one or the other action or proceeding is proper and appropriate need not, therefore, be considered. .
The contention on the part of the plaintiff in error is that, by virtue of the restrictions or conditions placed by it upon granting the various extensions of locations of the tracks of the railroad company, and by the acceptance of the same by the company, a contract was entered into between the city and the railroad company, which could not be altered without the consent of both parties, and that as the city had never consented to any alteration of the obligation of the railroad company to make the repairs in the streets as provided for in those restrictions or conditions, the subsequent legislation contained in the act of 1898 impaired the obligation of that contract, and was therefore void, as a violation of the Constitution of the United States.
In the view we take of this subject it may be assumed, for the purpose of argument, that the city of Worcester had power, under the legislation of the State, to grant the right to extend the location of the railroad company’s tracks upon the restrictions .or -conditions already mentioned. It may also be assumed, but only for the purpose of the argument, that the restrictions or conditions contained in the orders or decrees of the board of aldermen, upon their acceptance by the company, became contracts between the city and the company.
The question then arising is, whether the legislature, in the exercise of its general legislative power, could abrogate the provisions of the contract between the city and the railroad company with the assent of the latter, and provide another and a different method for the paving and repairing of the streets through which the tracks of the railroad company were laid under the permit of their extended location. We have no doubt that the legislature of the Commonwealth had that power. A municipal corporation is simply a political subdivision of the State, and exists by virtue of the exercise of the power of the State through its legislative .department. The
*549
legislature could at any time terminate the existence of the corporation itself, and provide other and different means for the government of the district comprised within the limits of the former city. The city is the creature of the State.
East Hartford
v.
Hartford Bridge Co.,
As is stated in
United States
v.
Railroad Company,
In
New Orleans
v.
Clark,
“A city is only a political subdivision of the State, made for the convenient administration of the government. It is an instrumentality, with powers more or less enlarged, according to the requirements of the public, and which may be increased or repealed at the will of the legislature. In directing, therefore, a particular tax by such corporation, and the appropriation of the proceeds to some special municipal purpose, the legislature only exercises a power through its subordinate agent, which it could exercise directly; and it does this only in another way when it directs such corporation to assume and pay a particular claim not legally binding for want of some formality in its creation, but for which the corporation has received an equivalent.”
In
Commissioners of Laramie County
v.
Commissioners of Albany County et al.,
It was said in that case that “public duties are required ot counties as well as of towns, as a part of the machinery of the State; and, in order that they may be able to perform those duties, they are vested with certain corporate powers; but their functions are wholly of a public nature, and they are at all times as much subject to the will of the legislature as incor^. porated towns, as appears by the best text writers upon the subject and the great weight of judicial -authority.”
In
Commissioners &c.
v.
Lucas, Treasurer,
“Were the transaction one between tbe State and a private individual, the invalidity of the act would not be a-matter of serious doubt. Private property cannot be taken from individuals by the State, except for public purposes, and then only upon compensation or by way of taxation; and any enactments to that end would be regarded as an illegitimate and unwarranted exercise of legislative power. . . . But between the State and municipal corporations, such as cities, counties, and towns, the relation is different from that between the State and the individual. Municipal corporations are mere instrumentalities of the State, for the convenient administration óf government; and their powers may be qualified, enlarged or withdrawn, at the pleasure of the legislature.”
In
Mount Pleasant
v.
Beckwith,
In New Orleans
v.
New Orleans Water Works Company,
Enough eases have been cited to show the nature of a municipal corporation-as stated by this court. In general it may be conceded that it can own private property,. not of a public or governmental nature, and that such property may be éntitled,- as-is said, "to constitutional protection.” Property which is held by these corporations upon conditions or terms contained in a grant and for a special use, may not be diverted by the legislature. This is asserted in
Commissioners &c.
v.
Lucas, Treasurer,
It seems, however, plain to us that the asserted right to demand the continuance of the obligation to pave and repair the streets, as contained in the orders or decrees of the board of aldermen granting to the defendant the right to extend the locations of its tracks on the conditions named, does not amount to property held by the corporation, which the legislature is unable to touch, either by way of limitation or extinguishment. If these restrictions or conditions are to be regarded as a contract, we think the legislature would have the same right to *552 terminate it, with the consent of the railroad company; that the city itself would have. These restrictions and conditions were of a public nature, imposed as a means of collecting from the railroad company part, or possibly the whole, .of the expenses of paving or repaving the streets in which the tracks were laid, and that-method of collection did not become an absolute property right in favor of the city, as against the right of the legislature to alter or abolish it, or substitute some other method with the consent of the company, even though as to the company itself there might be a contract not alterable except with its consent. If this contention of the city were held valid; it would very largely diminish the right of the legislature 'to deal with its creature in public matters, in a manner which the legislature might regard as for the public welfare. In City of Springfield v. Springfield Street Railway, 182 Massachusetts, 41, this question was before the Supreme Judicial Court of Massachusetts, and the contention of the city, to the same effect as the plaintiff in error contends in this case, was overruled. It was therein held that the city acted in behalf of the public in regard to these extensions of locations, and that the legislature had the right to modify or abrogate the conditions on which the locations in the streets and public ways had been granted, after such conditions had been originally imposed by it. The case at bar was decided at the same time as the Springfield case (182 Massachusetts, 49), and the proposition that the legislature had the power to free the company from obligations imposed upon it by the conditions in the grant of the extended locations was adhered to, and the Springfield case cited as authority for the same. We concur in that view.
There is no force in the contention that the city of Worcester has a proprietary right in the property of the defendant in error, reserved to it under the original statute incorporating the, Worcester Horse Railroad Company. (Chap. 148, Mass. Laws of 1861.) These sections simply give the city of Worcester the right, during the continuanc'e of the charter of the corporation and after the expiration of ten years from the opening of *553 any part of said road for use, to purchase all its franchises, property, rights, etc. That right is not affected by the legislation in question, even assuming (which we do not for a moment intimate) that the act of' 1898 affected the right of the city to make the purchase under the sections above cited.
We see no reason to doubt the validity of the act of 1898, and the judgments of. the Supreme Judicial Court and the Superior Court of Massachusetts are, respectively,
Affirmed.
