This action was originally brought against H. D. Johnson and F. S. Langley to recover the possession and restitution of certain real estate situated on the north side of the railroad track of the Northern Pacific Eail-road in the northwest quarter of the southwest quarter of section 2, township 55 north, of range 2 east, Boise meridian, in Kootenai county. Thereafter an amended complaint was filed, in which the said Johnson and Langley, M. W. Caldwell and James Canning were made defendants. It appears from the judgment that the defendants, Langley, Caldwell and Canning appeared and that the defendant, Johnson, although duly and ■régularly served with summons, failed to appear or answer, and that his default was regularly entered. Thereupon a trial to the court was had without a jury and judgment was entered in favor of the respondents. The appeal is from the judgment and taken by Langley, Caldwell and Canning.
The following facts appear from the record: That the plaintiff, John E. White, made a homestead entry under the laws of Congress for the northwest quarter of the southwest quarter *441of section 2, township 55 north, range 2 east, and other land in Kootenai county on the twenty-seventh day of November, 1895, and that the land in dispute in this case is a part of said northwest quarter of the southwest quarter of said section 2. It also appears that said White had resided upon said forty-acre tract of land long prior to the date that he made said entry, and that he made said entry on the day that the government plat of the survey of said land was filed in the local land office; that on ■the same day, but after White’s entry had been made, the probate judge of Kootenai county applied to file a townsite declaratory statement with a plat of the town of Clark’s Fork attached thereto upon said land, which entry was rejected because of its conflict with White’s said entry. Thereafter said probate judge filed an affidavit of contest asking for the cancellation of White’s entry to said forty-acre tract upon the ground that said tract had been used and occupied for townsite purposes since the year 1884, and that said White’s entry was made for speculative purposes. A hearing was had at the local United States land office which resulted in a decision to the effect that but two (2) •acres of said forty-acre tract should be awarded to the contestant, and that White’s entry should remain intact providing he should agree to convey, after patent, said two acres to said probate judge in trust for the benefit of townsite occupants. Both parties appealed from that decision, and such proceedings were had as finally resulted in a decision holding White’s entry valid and superior to that of the townsite claimants and the probate judge’s contest was dismissed and White’s entry held valid and intact. That thereafter the patent of the United States conveying to said White said forty-acre tract with other land, was duly executed to said White on the fourteenth. day of July, 1903.
It also appears that on the fourth day of December, 1901, said White leased the two lots in controversy to the defendant, H. D. Johnson, for a term of two years, for the consideration of $140, and the further consideration that said lessee should leave thereon all buildings and other improvements that he should place thereon during the continuance of the lease. The lessee also agreed not to sublet.said premises or any part thereof. *442.Seventy dollars, or one-half of said $140, was paid at the time .■said lease was executed, and it was agreed that the remaining $70 should be paid on the fourth day of December, 1902. That ■said H. D. Johnson took possession of said premises under said lease and continued in possession thereof until about the second ■day of May, 1902, and on that date he sold to the defendant, F. S. Langley, and one Fred H. Johnson the buildings situated on said lots, together with the stock of liquors and the bar fixtures therein contained, and let them into the possession ■of said premises.
It appears from the averments of the answers of Canning ■and Caldwell that Canning now claims title to said lots through ■conveyances (quitclaim deeds) as follows: One dated July- 11,. 1900, from one Samuel Black to Ruben Johnson, Johnson to McWilliams, McWilliams to appellant Langley, Langley to appellant Caldwell, Caldwell to appellant Canning; and it is alleged that appellant Canning now holds possession of said premises by virtue of said conveyance from Caldwell and not ■otherwise. The defect in Canning’s alleged title is in fact that it only relates back to the conveyance of July 11, 1900, of .Samuel Black to Ruben Johnson. It is not connected with the United States as the original grantor, as is 'the title of the respondents. The grantor of the respondents is the United States, and the appellants have not shown that their grantor and predecessors in interest ever received any conveyance of said property from the United States or the respondents. They .admit they have not. On the trial the patent from the United States conveying said land to respondent, John E. White, and •other papers, were introduced on the trial on behalf of respondents and the quitclaim deeds referred to herein were introduced on behalf of the appellants. No oral evidence was adduced on the trial on behalf of appellants.
Said contest against the homestead entry of respondents had :not been finally determined when this action was commenced .and said patent was issued some time subsequent thereto. The •foregoing facts establish the title to said lots in the respondent, John E. White.
*443There is no question but what the defendant, S. D. Johnson, entered into the possession of said premises under said lease from John E. White, and, while so holding, let the appellants into possession thereof and to evade the force of that provision prohibiting the subletting of said premises, quitclaim deeds from persons who never had any title to said lots were resorted to.
Technically, some of the errors assigned have some force, but under the provisions of section 4231, Revised Statutes, the court must, in every stage of an action, disregard any error or defect in the pleadings or proceedings which do not affect the substantial rights of the parties, and no judgment shall be reversed or affected by reason of such error or defect. There axe no errors assigned that affect the substantial rights of the appellants. They have no right to either the possession or title to said lots. If, as suggested, defendant Johnson was not served with summons, and for that reason has not had his day in court, these appellants are in no wise affected by that fact. He may be heard on that question. Judgment is affirmed, and costs awarded to respondents.
Stockslager, J., and Ailshie, J., concur.