Action by Spring Water Company, a corporation, against the town of Monroe, a municipal corporation, to enjoin and restrain the defendant from tearing up or interfering with water pipes belonging to the plaintiff. *196A demurrer being sustained to the complaint, the plaintiff declined to plead further, the action was dismissed, and the plaintiff has appealed.
The only question before us is the sufficiency of the complaint. It alleged, that on June 17, 1901, the commissioners of Snohomish county granted to the appellant a franchise for fifty years, to lay down and maintain water mains and pipes along, across, over and under all streets and alleys in Monroe and Tyee city, and other highways in Snohomish county; that pursuant to, and under the authority of, the franchise, the appellant immediately commenced operations, and laid pipes in the streets and alleys of Monroe, doing so with the knowledge and approval of its inhabitants and of the county commissioners; that Monroe was incorporated as a town of the fourth class in January, 1903; that in 1905 an act of the legislature of Washington entitled, “An Act giving to County Commissioners the power to grant certain public utility franchises on county roads and streets outside of incorporated towns and cities, and confirming certain such grants heretofore made,” was passed, and was approved by the governor on March 9, 1905 (Laws 1905, p. 210, ch. 106) ; that the territory and jurisdiction of the town of Monroe now extends over lands and streets mentioned and included in the franchise; that the council of the town’ of Monroe, on April 8, 1906, adopted a resolution directing appellant to discontinue the maintenance of its water system, and that unless it be restrained by order of court, it will tear up and remove appellant’s water pipes, destroy its business, and cause it irreparable damage.
In State ex rel. Spring Water Co. v. Monroe, 40 Wash. 545, 82 Pac. 888, the act of the county commissioners in attempting to grant the identical franchise pleaded in this action was held to have been ultra vires and void. It appears from the pleadings, however, that the appellant had, at an Outlay of $3,500, laid pipes and mains in the streets and alleys of the present town of Monroe before its incorpora*197tion. Pending that litigation and with evident intent to cure the lilce acts of the commissioners in the several counties in the state, the legislature passed the act of 1905; the particular parts of which affecting our present inquiry are found in sections 2 and 3, and are as follows:
“That any and all grants, rights, privileges, franchises or powers heretofore made or attempted to be made, given or granted by the board of county commissioners of any county in this state, when such board was in regular or special session, and when the action of such board is shown by it’s records, to any'person or corporation, ... to lay or maintain pipes for the distribution of water, or gas, in, upon, along, through or over public roads and highways, or any public road or highway, outside the limits of incorporated cities and towns, be and they' are hereby confirmed and declared to be valid to the extent that such road or highway has been, prior to the passage of this act, actually occupied by the bona fide construction and operation of such utility and no farther.
- “Said rights, powers and grants so made or attempted to be made and hereby confirmed, shall have and be of the same force and effect as if the county commissioners in any county of this state, prior to the time of giving or granting said rights, privileges and franchises, had been specifically authorized and empowered to give and grant the same.” Laws 1905, p. 210, §§ 2, 3.
It is contended by respondent that, (1) the intent of the act was to limit the territory over which the ratification is to extend, to territory outside of cities and towns; and, (2) the town of Monroe having been incorporated subsequent to the attempted grant, that the act of the legislature is ineffectual to attain the object sought, if the legislative intent were otherwise. As viewed by a majority of the court, the act is too plain for construction. It provides that any and all franchises theretofore made or attempted to be made, given or granted by the board of county commissioners, to lay or maintain pipes for the distribution of water along through or over any public road or highway outside of the limits of incorporated cities and towns are declared to be *198valid, to the extent that such road or highway has been prior to the passage of the act actually occupied. Its evident purpose was to protect investments made and property acquired in good faith under an ultra vires order of the county commissioners. The words “outside the limits of incorporated cities and towns,” must then be held to refer to the time of the attempted grant, and to cover the acts of the grantee to the extent to which it has exercised the power attempted to be granted, and not to the date of the validating act. Otherwise the act of 1905 was a vain and useless thing, in so far as cities and towns were concerned, and all reference to them is an idle expression carrying no weight to extend or limit the operation of law. To give the act any other construction would necessitate the rejection of the words quoted altogether. This the courts cannot do arbitrarily. It is the duty of the court to give effect, if possible, to every word and •phrase of an act when it is challenged.
The real question, therefore, is the power of the legislature to pass a curative act which will relate back and validate the occupation of a road or highway, which is after-wards, and before the passage of the act, included within the limits of an incorporated town. Respondent puts particular reliance upon the opinion of Chief Justice Dixon in Hasbrouck v. Milwaukee, 13 Wis. 42. In that case it was held that a void contract could not be validated by an act of the legislature as against the consent of a city. That case has no application here. The right of the town to contract is not impaired, nor does it suffer any unwarranted burden. The municipality was organized subject to property rights then existing or which the legislature might by general law thereafter recognize or create. Curative laws are not discountenanced because they are retroactive. Upon this point the authority relied upon has become a leading case in Wisconsin. As was said in Richland County v. Richland Center, 59 Wis. 591, 600:
“There is no constitutional inhibition against the passage *199of retrospective laws as such. The only question in such case is whether the legislature intended them to have a retroactive effect, and, if so, such effect is given to them by the courts. The objection in respect to such laws is not because they are retroactive, but that they disturb vested rights or impair the obligation of contracts which were acquired or assumed under them and dependent upon them. In such cases they are invalid, not because retroactive, but on other constitutional grounds.”
In that case the village had purposely failed to pay over certain moneys collected for liquor licenses, and which under existing laws should have been paid to the county for the support of the poor. An act was subsequently passed legalizing such conduct on the part of all offending boards, trustees, and city councils. The trial court held that the county had such a vested interest in the fund that the legislature could not take it away. Upon appeal the case was reversed, the court holding, inter alia, as above indicated.
Towns and cities are created by the authority of, and are subject to, the will of the legislature. If it could have authorized the act of appellant in the first instance by appropriate legislation, it can, by a subsequent act, ratify and confirm the ultra vires act of the commissioners, and thus preserve rights of property.
Judge Stiles in Baker v. Seattle, 2 Wash. 576, 27 Pac. 462, says that it is a principle long sustained by the courts, “that where a municipal corporation has done an act beyond its statutory powers, but within the powers which it was competent for the legislature to have conferred upon it, the act may be validated by a curative statute.” The validity of such acts have been frequently upheld by this court. Holmes & Bull Furniture Co. v. Hedges, 13 Wash. 696, 43 Pac. 944; West Seattle v. West Seattle Land and Imp. Co., 38 Wash. 359, 80 Pac. 549; Lewis County v. Gordon, 20 Wash. 80, 54 Pac. 779; State ex rel. Latimer v. Henry, 28 Wash. 38, 68 Pac. 368; And, also, Pullman v. Hungate, 8 Wash. 519, 36 Pac. 483; State ex rel. Hemen v. Ballard *20016 Wash. 418, 47 Pac. 970; Abernethy v. Town of Medical Lake, 9 Wash. 112, 37 Pac. 306, in which the several municipalities were charged under the act of 1893 with obligations incurred by the antecedent void incorporation.
It cannot be held, as it seems to have been assumed, that the town of Monroe acquired upon its organization any vested right to the control of its streets in virtue of § 1011 of Ballinger’s Code (P. C. § 3524). It is elementary that what is given by statute may be taken away by statute.
“ ‘It is an unsound and absurd proposition, that political power conferred by the legislature can become a vested right, as against the government, in any individual or body of men. It is repugnant to the genius of our institutions, and the spirit and meaning of the constitution, for by that fundamental law all political rights not then defined and taken out of the exercise of legislative discretion were intended to be left subject to its regulation. If corporations can set up a vested right against the government to the exercise of this species of power, because it has been conferred upon them by the bounty of the legislature, so may any and every officer under the government do the same.’ It is competent for the legislature to transfer the control of the streets even to a body foreign to the corporation, and the moneys to repair the same. 1 Dillon on Mun. Corp., 292; Bristol v. New Chester, 3 N. H. 524; Benson v. Mayor of New York, 10 Barb. 223; People v. Walsh, 96 Ill. 232.” Richland County v. Richland Center, supra.
Our conclusion is that the act is vital to preserve the property of appellant, and that the town of Monroe must exercise its general powers subject to the right of appellant to maintain its water system as it is now maintained in the streets of the town, subject of course to such reasonable regulations as may now or hereafter be enacted by the town council. The rights of all municipalities affected by the act of 1905 are, as is most aptly stated by Chancellor Kent, “deemed to have vested subject to the equity existing against them and which the statutes have recognized and enforced.”
The judgment of the lower court is reversed, and this ■ *201cause remanded with instructions to overrule the demurrer to appellant’s complaint.