This action was brought by appellants against respondent, as treasurer and ex-officio tax collector of Washington county, to restrain respondent, his agents and successors in office from attempting to collect state, county and municipal taxes assessed against certain lands described in the complaint, for the years 1919, 1920 and 1921, and from issuing any tax deed to Washington county by reason of any unpaid taxes levied or assessed against said lands for the years above named.
The complaint alleges that Washington county acquired title to two certain tracts of land by tax deeds issued January 14, 1922, and April 17, 1922, by reason of taxes levied and assessed against said lands for the year 1918; that appellants acquired the tracts by purchase from Washington county, said tracts being sold by the county in the manner provided by law, and deeds thereto having been duly executed by the county to appellants on June 7, 1926, and August 6, 1926. It is further alleged in the complaint that state, county and municipal taxes were assessed against the lands for the years 1919, 1920 and 1921, and that such taxes have not been paid, and that notwithstanding the issuance of deeds to appellants, the respondent, in his capacity as treasurer and tax collector of Washington county, threatens that unless such taxes for the years 1919, 1920 and 1921 are paid by appellants, to execute tax deeds to the lands to Washington county.
C. S., see. 3263, as amended by Sess. Laws 1921, chap. 232, p. 520, reads as follows:
*767“Effect of Tax Deed as Conveyance. The deed conveys to the grantee the absolute title to the land described therein, free of all encumbrances .... except any lien for taxes which may have attached subsequently to the assessment.”
This statute is not ambiguous or uncertain in so far as the question here presented is concerned. A reasonable interpretation of the statute leads to the conclusion that a tax deed executed to a county at tax sale conveys to the county absolute title to the lands free of all encumbrances except any lien for taxes which may have attached subsequently to the assessment on account of the delinquency of which the land was sold.
Washington county acquired these particular lands by reason of the failure of the then owner or owners to pay taxes thereon for 1918'. Deeds were issued by the tax collector and delivered to Washington county in January and April, 1922. The lands were regularly assessed for state, county and municipal taxes for the years 1919, 1920 and 1921 while still standing in the names of the same owners. Taxes for these latter years have not been paid. They are outstanding liens, and were such at the time appellants received their deeds from Washington county, and the county conveyed only the title it received.
The question here presented is primarily one of statutory construction. There is no intrinsic reason why the statute involved should not be so construed as to make the lands purchased from a county, acquired by reason of the failure of prior owners to pay taxes duly and regularly assessed, responsible for taxes assessed subsequent to the taxes on account of the delinquency of which the property is sold. (State v. Stuart, 41 Ida. 126, 238 Pac. 305.) The sale of land for the taxes of one year does not, in the absence of statute to the contrary, affect the liability of the land sold for the taxes of a later year and assessed prior to such sale. The parcels of land sold by Washington county to appellants were duly and regularly assessed for state, county and municipal taxes for the years 1919, 1920 and 1921, *768prior to the sale to the county of the tracts by reason of the delinquency or failure of the then owner or owners to pay taxes for 1918.
Questions concerning the effect of a tax sale as a transfer of title, or the right of the purchaser and the validity of his title, are to be determined by the law in force at the time the sale was made, which law indeed constitutes a contract between the county and the purchaser, the terms of which cannot be impaired by subsequent legislation. (37 Cyc. 1468, 1469.)
From what has been said it follows that the trial court did not err in sustaining respondent’s demurrer. The judgment is affirmed, with costs to respondent.
Vm. E. Lee, C. J., and Givens, Taylor and T. Bailey Lee, JJ., concur.
Petition for rehearing denied.