Opinion by
Mr. Justice Elkin,Prior to the act of 1901 there can be no question that it was the settled policy of the law, as expressed in the decisions of our courts and by statute, that the property of a public service corporation essential to the operation of its franchises, could not be seized and sold under an ordinary writ of fieri facias. Indeed, as far back as 1825, Chief Justice Tilghman, speaking for the court in Ammant v. Turnpike Road Company, 13 S. & R. *606210, held that such property was entirely exempt from levy and sale on execution. To avoid the harsh consequences of this rule and to give judgment creditors a remedy against such corporations, the Act of June 16, 1836, P. L. 755, was passed. This act provided for the sequestration of the property and earnings of a corporation in order to satisfy a judgment obtained against it. The sequestration proceedings were so cumbersome that the legislature in 1870 by statute provided a new process in the nature of a special writ of fieri facias, under which the property of a quasi public corporation may be seized and sold, but in order to do so it is necessary to strictly follow the requirements of the act. The decisions of our courts, as well as the statutes relating to the subject, are based on a policy of the law intended to keep intact the property belonging to and essential in the operation of a public service corporation, so that its creditors may not seize and sell the same piecemeal, and by thus disabling it defeat the purpose for which it was created by rendering it unable to perform its duties to the public. On this question see Turnpike Co. v. Wallace, 8 Watts, 316 ; Canal Co. v. Bonham, 9 W. & S. 27; Phila. & Baltimore Central Railroad Co.’s Appeal, 70 Pa. 355; Com. v. Railroad Co., 122 Pa. 306 ; Margo v. Railroad Co., 213 Pa. 468.
As to mechanics’ liens it was held in Foster v. Fowler, 60 Fa. 27, and Guest v. Merion Water Co., 142 Pa. 610, that under the then existing law structures essential to the operation of a quasi public corporation are not subject to lien by the mechanic and material man as other buildings are. These cases followed the rule hereinbefore stated, and held that it was against the policy of the law to permit a lien to be filed against the engine house, pumping station and other structures of a quasi public corporation. Thus the law stood until the passage of the act of 1901, and it must now be determined whether this act has changed or modified the old rule so as to permit the filing of a lien against the power house of the defendant company, erected upon a lot therein described, even if the legislature had the power to do so, when enforced in the same manner as other mechanics’ liens, which question has not been raised, and need not be determined for the purposes of the present case. It must be conceded that the definition of *607the words “ structure or other improvements,” used in the first section of the act, is broad enough to include the stations, power houses and other structures of a public service corporation, but the difficulty is in the remedy provided for the enforcement of the claim. Section 46 provides that where judgment is recovered upon any claim, the property named in which is essential to the business of a public service corporation, “ the claimant shall have execution thereupon as in other cases of judgment against corporations. Upon the distribution of any fund realized by a sale of the franchises, and the whole or any part of the assets of the corporations, the court shall determine the relative value of the whole improvement to the property, to recover from part or all of which the claim was filed, and the claim shall be proved with other such claims to the extent that the value thus determined bears to the whole value of the franchises and assets sold.” The ordinary process for the enforcement of a judgment' obtained on a mechanic’s lien is by levari facias which is a proceeding in rem. But as to public service corporations a different process is provided by the act of 1901, that is to say, the claimant shall have the same kind of execution process as is provided for the enforcement of judgments against such corporations. In other words, the appellee in the present case, after having obtained a judgment on the claim filed against the power house of the appellant corporation, cannot sell the same on a writ of levari facias, but must proceed by special writ of fieri facias under the act of 1870, which authorizes the seizure and sale of property essential and necessary to the existence of a quasi public corporation, not piecemeal, so as to stop its operation and defeat the object of its charter, but as a whole : Reynolds v. Lumber Co., 169 Pa. 626.
It will thus be seen that while the act of 1901 may authorize the filing of a lien against the power house of the appellant company, that lien can only be enforced by the sale of all its property, and the remedy thus provided is not an action in rem, but is in the nature of a proceeding in personam, under the special writ of fieri facias provided by the act of 1870. This is the very thing that this court said in the recent case of the Vulcanite Portland Cement Co. v. Allison Co. et al., ante, p. 382, could not be done. In that case it was held that *608the mechanics’ lien laws were founded upon the theory that those who furnished labor and materials in the construction of a building should have the right to file a lien against the building itself, the structure into which their labor and materials entered in preference to other general creditors as a protection in so far as the building itself and the curtilage surrounding it afforded a security, but as was plainly indicated in that opinion such liens must be restricted to the particular buildings or structures against which the claim is filed. Under the rule of that case the lien in the present case cannot be sustained. It is argued with much force that the lien may be valid even if the method of enforcing it cannot be sustained. This is not an open question, for the exact point was made in Foster v. Fowler, 60 Pa. 27, in which Chief Justice Thompson, speaking for the court, said : “ In the able argument of the learned counsel of the plaintiffs in error it was claimed that we should consider the question of lien without reference to its possible enforcement. This would be too abstract and unpractical; for the lien abstractly, is nothing, its consequences or results, everything. The fruits of a lien are what the plaintiffs in error are contending for. We cannot, therefore, look at the question of lien without reference to the legal consequences of it, and if they would necessarily contravene settled principles it is evidence that such an effect should not be given, and was not intended by the law, and if it be incapable of the practical results assigned by law to it, it is inoperative, is no lien.”
We therefore hold that the method provided by section 46 for the enforcement of the judgment, not being a proceeding in rem so as to enforce the claim against the particular building into which the materials entered, is special legislation for this class of liens, obnoxious to the constitution, and therefore inoperative. The method of enforcing the lien being inoperative, the lien itself must fall. The affidavit of defense is sufficient to prevent judgment.
Judgment reversed and record remitted to the court below, with direction to enter such judgment or make such order as the pleadings require in accordance with this opinion.