The opinion of the court was delivered by
Horton, C. J.:This was an action brought to recover the possession of eighty acres of land in Shawnee county. The defendants alleged in their answer that the land was subject to taxation for the year 1873; that the same was sold at a tax sale, May 5, 1874, for the delinquent taxes of 1873, to B. J. Ricker; that on May 1, 1877, Ricker assigned the tax-sale certificate to Josephine B. Thomas; that on May 8, 1877, the laud not having been redeemed, Josephine B. Thomas obtained a tax deed thereon, which was recorded May 9, 1877; that subsequently, having been advised that the tax deed was void on its face, she obtained another tax deed, on October 6, 1880, which was recorded October 9, 1880; that on December 20, 1880, Josephine B. Thomas, and her husband, Jonathan Thomas, conveyed the land to the defendants; that the tax deed of October 6,1880, had become absolute under § 143, chapter 107, Comp. Laws of 1885, before this action was commenced, as more than two years had elapsed after the recording of this second tax deed. The plaintiff in reply alleged various facts concerning the tax sales, which, if proved, are sufficient to avoid the tax deeds, if such defenses are not barred by the statute of limitation. The defendants demurred generally to this reply. The demurrer was sustained by the court, and of this ruling the plaintiff complains.
*330The question in this case arises over the construction of §1, chapter 40, Laws of 1879, which amends §143, chapter 34, Laws of 1876. The last tax deed, dated October 6,1880, was put on record after the amendment of 1879 went into effect. This action was commenced October 27, 1884, nearly four years after the last tax deed was put on record, but less than five years from the recoi’ding of the same. Under the provisions of §141, chapter 107, Comp. Laws of 1885, the owner of the fee out of possession may commence his action against the tax purchaser at any time within five years from the time of the recording of the tax deed. If said §141 has not been repealed or limited by said §143, chapter 107, Comp. Laws of 1885, plaintiff had five years from October 9, 1880, in which to commence his action. On the part of the plaintiff it is contended that §1, chapter 40, Laws of 1879, which appears in the Compiled Laws of 1885 as §143, chapter 107, does not bar this action.
On the part of the defendants it is claimed that said § 143, chapter 107, Comp. .Laws of Í885, changes or limits §141 of said chapter, in cases of this kind, to two years only.
There are no negative prohibitory words in said §143. If possible, the two sections should'be harmonized. All statues in pari materia are to be read and construed together, as if they formed parts of the same statute and were enacted at the same time. With our view of said § 143, it is not inconsistent with § 141. We do not think the legislature intended, by the adoption of said § 143, to shorten the time within which the original owner could maintain an action to set aside tax deeds upon land owned by him. Under a different construction, if the county clerk issued a defective deed at first, and the tax purchaser then procured a second deed regular upon its face, the original owner would be deprived of one, two, three or more years of the time which the five-year statute gives him in which to attack the possession or title of the tax purchaser. We think the legislature intended to extend rather than to limit the time of limitation. Under §141 the land-owner has five years. If a defective or irregular tax deed has been recorded, *331and no subsequent tax deed is taken out, the owner may commence his action against the tax purchaser at any time within five years; but if a second tax deed is taken out and recorded, he has also two years thereafter in which “to set aside any or all such tax deeds” upon his land. While it is true that the statute provides that all rights claimed by the tax-deed holder under prior tax deeds are waived and merged into the second or latest tax deed, such prior tax deeds may be to some extent a cloud upon the title, and the owner may desire to have a judicial determination thereof. So if four or more years have elapsed between the issuance and recording of the first tax deed and the issuance and recording of the second tax deed, the owner has two years after the last tax deed is recorded in which to bring his action to set aside the prior tax deed, as well, also, as the last tax deed. The words in the section are, that he has two years in which to set aside “ any and all tax deeds.” The statute, as we construe it, will read as follows:
“ In all cases where different or successive tax deeds upon the same sale shall be put on record by the satire party, or in interest therewith, it shall be deemed and held that all rights which might otherwise be claimed, [by the tax-deed holder, and not by the original owner,] under all or any tax deed, prior to the last one put on record, shall be deemed and held to be waived, [by the tax-deed holder, and not by the original owner,] and considered as merged in such last tax deed so put on record; and in all cases where several tax deeds shall be put on record by the same party, or in interest therewith, that the party claiming to own the same land may maintain an action for the recovery of the possession thereof, or to set aside any or all such tax deeds, [not merely the last one, but any or all, and without regard to the length of time which some of them may have been in existence,] at any time within two years from the taking effect of this act, [and as the words ‘not thereafter’ are omitted, the words ‘or at any time wdthin the limitation fixed by other statutes’ should be inserted,] and in any case of the recording of such tax deed or deeds hereafter, then within two years from the time of putting on record the last of such tax deeds, [ or at any time within the limitation fixed by other statutes.]” (Laws of 1879, ch. 40, §1; Comp. Laws of 1885, ch. 107, § 143.)
*332The construction here given permits § 143 to operate without repealing or limiting said § 141. This construction is also in accord with the decisions in Myers v. Coonradt, 28 Kas. 211; and Corbin v. Bronson, 28 id. 532.
The order and judgment of the superior court will be reversed, and the cause remanded with direction to overrule the demurrer filed to the reply.
All the Justices concurring.