— There is only one question presented by the record in this ease, to wit: Did the plaintiffs, by purchase at execution sale of the lands mentioned in the complaint, acquire with said lands, and as appurtenant thereto, the shares of stock owned by the execution defendants in that certain corporation known as the Dpper South Field Irrigation Company ? The allegations of the complaint, which we must consider as true, the same being confessed by the demurrer, show: That said lands were attached under a writ of attachment that issued in the action brought by said plaintiffs against said execution defendants, Francis Wilcox and George Wilcox, on the seventeenth day of October, 1891, but did not attach the shares of stock held in *492said corporation by tlie said execution defendants, in the manner-provided by subsection 4, section 4307 of the Revised Statutes. That said action proceeded to judgment in February, 1895, and the execution sale thereunder October 28, 1895, and sheriff’s, -deed therefor was made May 1, 1896. That, many years prior thereto, the execution defendants and other residents in the immediate vicinity jointly built and constructed 'a canal by which water was diverted from Paris creek, and conducted to their lands, and there used for the purpose of irrigating them for agricultural purposes. That said parties who constructed said canal organized a -corporation, designated in tbeir articles of incorporation as the Upper South Field Irrigation Company, and issued shares of capital stock to the said joint owners, in proportion to the quantity of interest each owned in said canal and the waters therein conveyed. That in the year 1895 one John A. Bagley commenced an action in the probate court of Bear Lake county against said execution defendants, and attached the shares of stock held by said defendants in said corporation, afterward obtained judgment, upon which execution issued, under which execution said shares of stock were sold, and purchased by said Bagley, who received from the sheriff a bill of sale for said stock, after which he sold and assigned said, bill of sale to-the defendant Robert Price, who obtained from said corporation a certificate for said shares, and who has since held and claimed the same.
The contention of plaintiffs, and the theory upon which this suit was brought, is that said shares of stock were appurtenant to said lands, and passed with said lands under execution sale. Aside from general well-established rules of law which forbid the sanction of sgid contention, it is directly opposed to the statutory law of this state. Under the provisions of section 4306 of the Revised Statutes, “shares which the defendant may have-in the stock of any corporation or company” may be attached. Subsection 4, section 4307 of the Revised Statutes, is as follows “Stock or shares or interest in stock or shares, of any corporation or company must be attached by leaving with the president, o-r other head of the same, or the secretary, cashier, or other managing agent thereof, a copy of the writ, and a notice *493stating that the stock or interest of the defendant is attached in pursuance of such writ.” By section 4477 of the Revised Statutes, “shares and interest in any corporation or company .... may be attached on execution in like manner as upon writs of attachment.” Under the provisions of these statutes, the procedure is prescribed by which shares of stock and interests in corporations may be seized and subjected to the satisfaction of the debts of the execution defendant. The subjection of shares of stock in a corporation to the payment of a debt must, when done by legal process, be done in the manner prescribed by the statutes. The complaint in the cas© at bar shows that the statutory procedure was not followed. Shares of stock in an irrigation corporation are not appurtenant to the land owned by the owner of such shares, even though such land be irrigated by water from a canal owned by such corporation. The court properly sustained the demurrer. The judgment of the district court is affirmed, wdth costs to the respondents.
Huston, C. J., and Sullivan, J., concur.