The Borough of Halifax acquired by purchase, in 1917, the assets of a company engaged in furnishing water to its inhabitants and those residing in the immediate vicinity. Since that time the plant has been managed by a board of water commissioners appointed as permitted by the Borough Act (May 14, 1915, P. L. 312, ch. 6, art. XIV, sec. 28). The source of the supply was some miles distant, and the water was conducted therefrom by a pipe which emptied into a reservoir. From the latter point, service lines carry the flow to most of the consumers, who reside within the town. At least four properties outside the borough are supplied by attachments made to the main conduit before the reservoir is reached. This service, though furnished beyond the lines of the municipality, is legally authorized (Borough Act, ch. 6, art. XIV, sec. 22), and has been supplied for a considerable period. *Page 33
Reigle, the plaintiff, owns a property abutting on the highway in which the pipe from the spring is located, and, in 1924, secured a permit to make an attachment, and take water for the use of a garage which had been erected thereon. In the following year he built a house adjoining on the same lot, and proposed to connect the service pipe, already installed, with the new building, and secure a supply for domestic use. Being advised by his contractor that additional permission was required, application was made informally to the members of the water board, and he was given by one member verbal leave to proceed. This authorization having first been confirmed by the plumber, who spoke to the commissioner, Shoemaker, the work was begun and completed. The number of the new spigots added to the line was given, as directed, to the collector of water rents. When the new installation was finished, water was admitted to the pipes for testing purposes, but immediately thereafter turned off, because of the complaint of the borough officials having charge of the plant.
In the previous year, the managers had determined, by resolution, to permit no further connections to the supply pipe. When informed that the home of plaintiff had been joined to the permitted line entering the garage, it directed that the supply of water be disconnected not only to the former, but also to the latter, though rent had been paid for the spigot there used six months in advance. Application was made for a writ of peremptory mandamus to compel the furnishing of water, the plaintiff signifying his willingness to comply with all reasonable rules and regulations of the board, insisting that this was his legal privilege, so long as others of the public at large similarly situated were given service.
The defense denied the right to relief, on the ground that no formal written application had been made for leave to extend the line, though its construction was apparently undertaken in good faith, after the expressed assent of one of the commissioners, given to both the *Page 34 owner and the plumber; and, further, because certain rules of the company had been violated in making unauthorized use of water from the garage for mixing plaster, and in failing to make a separate connection to the supply main, though it is not clear that this was required where the building was on the same premises. It appears from the rate sheet of the company that it contemplated the use of spigots for both house and garage purposes on the same line. It is clearly evident from the testimony that, though these, and possibly other, technical violations of the regulations, adopted for the control of consumers, may have taken place, the real reason for the refusal was the desire to prevent further use of water from the conduit, leading from the spring to the reservoir, by Reigle, or others who might apply, and that opportunity was taken of the situation to cease furnishing it.
The borough acquired the franchises of the water company by purchase, and assumed the responsibilities of the corporation, as well as securing its rights and privileges: Greensburg v. Westmoreland Water Co., 240 Pa. 481. When it thereafter continued the supply, it acted in its private capacity, and was subject to the same obligations as the original owner: Central I. S. Co. v. Harrisburg, 271 Pa. 340; Jolly v. Monaca Borough, 216 Pa. 345; Baily v. Phila., 184 Pa. 594; Penn Iron Co. v. Lancaster, 25 Pa. Super. 478. It could furnish water within the confines of the municipality, and could take on consumers in adjacent territory, if it saw fit to do so: Act May 14, 1915, P. L. 312, ch. 6, art. XVII, sec. 22; Hanna v. Lykens Water Co., 278 Pa. 262. All service was contingent upon compliance with such reasonable rules and regulations as the board of water commissioners might adopt: Borough Act, supra, sec. 34. It could make proper rules for the payment of bills (Bower v. United Gas Imp. Co., 37 Pa. Super. 113), classify the consumers, depending upon the character of service furnished (Consolidated Ice Co. v. Pittsburgh, 274 Pa. 558 *Page 35 ; Youngman v. Erie, 267 Pa. 490), and put in force regulations necessary for its protection: Miller v. Wilkes-Barre Gas Co., 206 Pa. 254; Tyrone Gas Water Co. v. Pub. Serv. Com., 77 Pa. Super. 292. The action of the municipal board is subject, however, to the control of the courts where it discriminates or acts unreasonably (Barnes Laundry Co. v. Pittsburgh, 266 Pa. 24), as is a private water company to the orders of the Public Service Commission: Kauffman v. Pub. Serv. Com., 81 Pa. Super. 48. In neither case can there be a distinction between those applying for service under like conditions. "A city operating a legalized monopoly, in the nature of a water plant, cannot give undue or unreasonable preference or advantage to, or make unfair discrimination among, customers, any more than a private corporation similarly situated": Barnes Laundry Co. v. Pittsburgh, supra, p. 41; Westerhoff Bros. v. Ephrata Borough,283 Pa. 71.
The respondent here offered to supply water not only to the residents of the borough, but, as permitted by law, to those whose properties were beyond its limits. It saw fit to permit at least four to take water from the service line between the spring and the reservoir, collecting the regular rental charge therefor. This may be unwise, in view of the limited supply available, but so long as it gives to one, it cannot discriminate as to others. So, it has been held that, where it was optional with a water supply corporation to make connections with consumers on ungraded streets, yet if it did voluntarily lay a main at such place, and supply residents along the same, it was "its duty to supply water without distinction of persons": Consumers Co. v. Hatch, 224 U.S. 148,152. In the present case, the borough could refuse to accept any customers beyond its limits, or along the line of its service main, but so long as the privilege was granted to some, it cannot refuse to others.
It is suggested that the present proceeding by mandamus is not the appropriate remedy to be pursued. In *Page 36 most of the cases in which complaint has been made of a refusal to supply water, the matter came before the court in the form of a prayer for an injunction to restrain attempted discrimination. The duty of the board of commissioners here to grant the permit was of right, if the rules and regulations were complied with (Coyne v. Prichard, 272 Pa. 424; Panther Valley Water Co. v. Blaney, 66 Pa. Super. 253), and the writ, such as asked for in the present case, could properly be issued: Consumers Co. v. Hatch, supra. The relator, having sustained a special injury from the failure to perform a public duty, could sue in his own name: Com. v. Woodward, 84 Pa. Super. 124; Com. v. Huttel, 4 Pa. Super. 95. The general rule applicable has been thus stated: "A corporation [or a municipality acting as such] occupying the streets of a city or village, and having a franchise to furnish the city and its inhabitants with water, may be compelled by mandamus to furnish water to a person entitled thereto. . . . . . [It] will be [granted] to prevent unlawful discrimination, to compel a water company to construct connecting pipes, and supply a customer, or the inhabitants generally, with water, or to lay and extend mains where it is under a legal obligation to do so": 38 C. J. 818, section 504.
In the present case, there was a failure to secure a written permit before the work was begun, due, as found by the court, to an honest belief that the authority had been secured by the verbal direction of the one commissioner to proceed, and there may have been some slight variance in the rules, such as the use of water for plastering purposes, which alleged violations, however, need not be elaborated upon. It is clear there was no attempt to defraud the borough, the new spigots being reported by the plumber when installed, and it would be inequitable to hold that the conduct shown deprived plaintiff of further service. It will be noticed that the board not only shut off, as a penalty, the new line, but the tap *Page 37 already in place, and the rent for which had been paid in advance, though later refunded.
The order of the learned court below is complained of, and, to prevent misunderstanding, should be modified, so as to provide that a connection to the main pipe shall be restored, and relator be allowed to secure water therefrom for his house and garage, in the same manner as are others located on the same line, and as long as any other consumers similarly situated are permitted to be supplied, upon his compliance with the rules and regulations of the water department. The decree, as stated in the court below, might be construed to give the right to water, when none would be available from the normal flow in the conduit, and make necessary the furnishing to Reigle, when a policy of discontinuance as to all consumers along the supply line was legally put in force, whereas no such right or obligation exists.
The decree of the court below is directed to be modified to accord with the views herein expressed, and, as modified, is affirmed; costs to be paid by appellant.