Ofvnion by
Wingarcl, Associate Justice.On August 19th, 1880, Charles E. P. Wood filed his complaint in the District Court, of the Third Judicial District, of Washington Territory, holding terms at Port Townsend, as venador of .certain real estate therein situate, in Snohomish county, in the Third Judicial District,- against Seabury L. Mastick and Levi B. Mastiek, vendees, alleging a contract in writing, made Ly the parties on the 19th day of June, 1878, for the purchase -of said real estate, the purchase price, $2000.00, to be paid to ■plaintiff June -1st, 1879, said payment to be a condition precedent to the conveyance, also alleging due tender of a good and •sufficient deed -on -June 1st, 1879, demand for the money on .said day, non-payment thereof, and readiness to convey on part of plaintiff ever since, and, at the time of filing the complaint, a *67deposit with the clerk of said Court a good and sufficient deed of Said premises for the defendants, and due performance of all conditions on plaintiff’s part, and prays judgment for the agreed purchase price.
To this complaint, after due personal service, in Jefferson County, W. T., defendants appeared in the action, and interposed a demurrer, in substance that the complaint does not state facts sufficient to constitute a cause of action, which demurrer was by the court sustained, whereupon plaintiff, saving his exceptions, filed his amended complaint, addressed to the chancellor, alleging the same facts and praying specificperformance, a judgment in personam for the agreed purchase price, and that said real estate be sold to satisfy the judgment and for general relief.
To this amended complaint, defendants filed their motion to, dismiss the action for want of jurisdiction of the court over the subject matter, which motion was by the Court sustained, all relief in said Court refused and final judgment entered, dismissing the pause and assessing the costs against plaintiff, to all of which plaintiff duly excepted, and seeks to have the same reversed.
The contract was set out verbatim in the complaint and is as follows, to-wit: Agreement made this nineteenth day of July, A. D. 1878, between S. L. Mastick and L. B. Mastick, the parties of the first part, and Charles E. P. Wood, the party of the second part, witnesseth:
First, That the said parties of the first part promise to buy of the party of the second part, in consideration that the said party of the second part agrees to sell all his right, title and interest of and to those two certain parcels of land situated in the County of Snohomish, Territory of Washington, described as follows, to-wit: First eighty (80) acres, known as the Lane claim, on Pillchuck creek. Second, one hundred and sixty (160) acres on French Slough, known as Frank Dolan’s claim.
Second, Said parties of the first part agree and promise to pay for said lands, to the party of the second part, the sum of two thousand (2000) dollars in United States gold coin in payment as follows: The whole thereof on the first day of June *681879, with.’interest thereon at the rate of one per cent, per month, payable' on said first day of June, 1879, and also pay -all taxes and assessments which hereafter may be laid or imposed for any purpose whatever on said land, and the money agreed to be paid herein.
Third, The said party of the second part agrees, that upon the payment of 'said sum, interest and taxes at the time herein stated, he will convey to the said parties of the first part by deed, the said lands, in which deed his wife, Lizzie B. Wood, shall join, releasing dower.
Fourth, It is mutually agreed that the payment of Said sum, interest and taxes, shall be a condition precedent to such conveyance, and that the non-payment of said sum, within two days after the time provided, shall render the moneys to be paid, -as aforesaid, at the option of the party of the second part, his -heirs and assigns, due and payable immediately. Ho notice of ;such option shall be required, and in case of such non-payment, ■this contract and all rights of the parties of the first part may be foreclosed, and attorneys fees shall be allowed, to thfe amount ■of three per cent, upon all the amount remaining unpaid, which shall be a debt due and payable upon the filing of the complaint in foreclosure. Ho waiver of the time of payment shall be valid in favor of the parties of the first part, except it is reduced to writing and subscribed by the parties hereto.
Witness our hands and seals this day and year first above •written.
'Signed, sealed, stamped and delivered in the presence of Martin White, -Samuel S. Murphy.
B. L. Mastick, [seal]
L. B. Mastick, [seal]
■O. E. P. Wood, [seal]
Bid the Couit err in sustaining the -demurrer -to plaintiff’s •original complaint ?
In order to determine this question it is proper to consider what the contract aforementioned is. We are of opinion that it is nothing more than an agreement, upon terms, to sell on the one hand and-to buy on the other, the land described — -an-exeeu*69tory contract, with a clause reserving to the vendor the privilege, in case of non-payment, of foreclosing all the rights of the parties of the first pa/rt, vendees, to which should be added and allowed an attorney’s fees, to the amount of three per cent, upon all the amount remaining unpaid.
If the vendor had seen fit to foreclose these rights and keep the land, he might have done so, but he chose rather to enforce the contract of sale, and brought his suit accordingly. This, we think, he had a right to do, and, having done so, his complaint should have been sustained, and the demurrer overruled.
It is claimed by the defendants in error that the plaintift, by amending his complaint, after the defendant’^ demurrer to the original complaint was sustained, waived his right to object to any error in such ruling.
This rule has important exceptions, and the case we are considering falls within one of them. The j udgment, in consequence of sustaining the demurrer in the Court below, was for the wrong party. Powell on Appellate Proceedings, pp. 192 and 198; Bliss on Code Pleading, section 417.
Except as tending to establishing the practice, it is unnecessary in this case to consider the question of venue, or the jurisdiction of the Court over the subject matter, in a suit to foreclose a mortgage. We are of opinion that all actions for the causes mentioned in section 48, laws W. T., 1877, must be commenced in the county or district in which the subject of the action lies, and the court of no other county or district has jurisdiction, and in this case Snohomish county would have been the proper county, in which to commence an action to foreclose, had the Court below been right in holding the contract to be ■an equitable mortgage. This construction is aided by section 229, Laws 1877, p. 47.
Judgment reversed and a trial de novo ordered.