This is an appeal by plaintiff from a judgment dismissing an action to foreclose a mortgage on real property. The trial court held that the action was barred by the statute of limitations, which was the only defense relied upon. The appeal is under section' 5630, Rev. Codes 1899, and, although a new trial of all the issues is demanded by the appellant, the only issue on which there is any controversy is that raised by the plea of the statute of limitations.
On December 24, 1883, James Dodds made and delivered to John R. Paine a principal promissory note for $250, payable January 1, 1887, bearing interest at the rate of 10 per cent per annum, and three coupon notes for the annual 'interest due respectively on January 1, 1885, 1886 and 1887. To secure the payment of this debt, James Dodd made and delivered to John R. Paine the mortgage in question, covering a quarter section of land owned by the mortgagor in Nelson county, which mortgage was duly recorded January 2, 1884. The mortgagor died intestate November 5, 1884, seized of the mortgaged land, and -left surviving him, as his heirs, his widow, Helen Dodds, and three children, David S. Dodds, Mary Colson and Jennie G. Wolff. Letters of administration upon the estate of James Dodds, deceased, were issued in Nelson county to the son, David S. Dodds, April 22, 1885. On April 16, 1887, pursuant to an order of the county court of Nelson county, the premises in question were set apart to the widow, Helen Dodds, as a homestead. David S. Dodds left the state of North Dakota about the middle of the year 1896, and took up his residence in California, where he died in February, 1902. He had never closed up the administration of his father’s estate. David Dodds died intestate, leaving surviving him a widow, Mary Dodds, but no children. The mortgagor’s daughter Jennie G. Wolff also died intestate, and left as her heirs her husband, Christopher J. Wolff, William Charles Wolff, Mamie Helen Wolff, Louis Joseph Wolff and David Sidney Wolff. The last two named are minors. The evidence fails to show when or where Jennie G. Wolff died. All these heirs have been nonresidents and absent from this state since 1896, but the evidence does not disclose whether they left the state in that year or before, except that it is stipulated that David Dodds left about the middle of 1896, and his widow, Mary Dodds, has never resided *195in this state. As to the others, the only evidence as to the time of their departure is a stipulation that they “left the state of North Dakota and took up their residence in the state of California in the year 1896, and prior to that time.” We infer from the language of this stipulation that the heirs mentioned left at different times, some in 1896 and some before. On August 12, 1902, John Hennessy was by the county court of Nelson county appointed administrator of the estate of James Dodds, the mortgagor, to succeed David S. Dodds, deceased, and the said Hennessy was also appointed guardian of the estate of the two minor heirs, Louis Joseph and David Sidney Wolff. All the adult heirs have conveyed their respective shares in the mortgaged land to defendant M. Frioli by deeds without covenants, which deeds were executed and delivered during the months of February, April and May, 1902, and were all recorded after delivery, and on or before May 17, 1902. The shares of the two minor heirs were sold and conveyed to the defendant Frich by the guardian’s deed, January 19, 1903, which deed was recorded the same day. In December, 1898, the mortgage and the debt secured thereby were assigned to the plaintiff. The debt secured by the mortgage was never presented for allowance as a claim against the estate of the deceased mortgagor. The administration of that estate was closed and the administrator discharged in March, 1903, after the commencement of this action. This suit was commenced January 18, 1902, naming as defendants all the heirs of the deceased mortgagor, the administrator of his estate, the guardian of the two heirs and M. Frich, the present owner of the land. The only relief sought is a judgment foreclosing their lien on the land for the amount of the debt and certain taxes paid by the plaintiff.
All the heirs except the two minors had ceased to -have any interest in the premises long before the action was commenced, and they-were improperly joined as parties defendant. The administrator and the guardian were discharged and their respective trusts terminated, and the rights of the minor heirs had been conveyed to Firich, before the action was tried. It is, therefore, clear that the action was properly dismissed as to all the defendants except Frich.
The main proposition upon which respondents’ counsel rely in support of their claim that the action is barred is that an action to foreclose a mortgage on real property is in the nature of a proceed*196ing in ran, and hence is not affected by section 5210, Rev. Codes, which excepts from the limitation period the time during which the person against whom the cause of action accrued is absent from the state. This proposition cannot be sustained, for the reasons given in Colonial & United States Mortgage Co. v. Northwest Thresher Co., 103 N. W. 915, and Mortgage Co. v. Flemington, Id. 929, the opinions in which have just been filed.
Appellant’s main proposition is that the land descended to the heirs subject to the mortgage, and became, therefore, the primary fund for the payment of the debt, and that the heirs or their grantee could not plead the statutory bar against this action, which is, in effect, one to subject that .primary fund to the purposes for which it was -created. This proposition was al-s-o overruled in the two preceding cases.
For the reasons stated in those two decisions, the wi-do-w and three children of the mortgagor were the persons against whom this cause of action accrued. The action was not barred as to- them or the heirs of those of them who had died at the time defendant Frich acquired their respective shares- of the land. The cause of action accrued January 6, 1887. The note being nominally payable January 1, 1887, which was -a-legal holiday, was actually payable January 2, 1887. At that time the territory law allowed three days of grace. Comp-. Laws 1887, section 4524. As no- suit could be commenced until January 6th, the statutory bar would not be complete until January 6, 1897, -but before that time all the living ■heirs had -left the state and taken up their residence in California. Consequently, as to them, the statute ceased running when they left the state, because section 5210, Rev. Codes 1899, provides that if a person against whom a cause of action shall have accrued “shall depart from and reside -out of this state, * * * th-e time of his absence shall not be deemed or taken- as any part of the time limited for the commencement of such action.” We think the clause, “or remain continuously absent therefrom for the space of one year or more,” which we omitted from the quotation of the -section as indicated -by the asterisks, refers to absences from the state where no residence is established elsewhere. To construe the statute otherwise w-ould deprive the creditor of the full ten years which the statute was intended to allow within which to commence an action by personal service of the summons. Bassett v. Bassett, 55 Barb. 505, 518; Bank v. Bissell (Cir. Ct.) 7 N. Y. Supp. 53.
*197The decisive question of law in this case, therefore, is this: Can the defendant Frich add to the time which the statute had run in favor of her predecessor in the title the time she owned the land before the_action was commenced, in order to make out the full statutory period of ten years ? This question must be answered in the affirmative. Section 5210 excepts from the limitation period the time that the person against whom .the cause of action accrued is absent from the state. If this language was construed to mean that absences only on the part of the person against whom the cause of action originally existed would toll the statute, it would defeat the object of the statute. If the owner of mortgaged land after default sold the land and left the state, an action to foreclose the mortgage would never be barred- until the death of the absent grantor. Again, if such fee owner died in this state after the cause of action accrued against him, and all his heirs were nonresidents, the statute would continue running against the right to foreclose, notwithstanding the absence of the heirs and the impossibility of obtaining personal service upon them. Both the letter and the spirit of the statute foirbid such an interpretation of it. Section 5199, Rev. Codes 1899, provides: “The following actions must be commenced within the following periods after -the cause .of action has accrued.” Then follows the enumeration of the various actions and of the time limited for commencement of the same. It will be noticed that section 5199 does not fix the commencement of the limitation period at the time when the cause of action accrued against the particular person who may subsequently plead the statute. By virtue of this section the limitation period begins to run against the right to maintain an action as soon as the right to such an action comes into existence. Section 5'210, however, excepts from the time limited for commencing an action the time that the person against whom the cause of action shall have accrued is absent from .the state. The person referred to in section 5210 is not necessarily the person against whom the cause of action first accrued. The same cause of action may have accrued against two or more persons at the same time, or against each of them at different times. When a debtor dies, the cause of action survives against his personal representative. The -cause of action remains the same after the death of the debtor as before. Such a cause of action accrues when the debt is due. It first accrues against the debtor, and, after his death, it accrues against his personal representative. So, also, *198a cause of action for the enforcement of a lien upon or other right to specific property. The cause of action first accrues when the right to resort to that remedy arises. As we held in Mortgage Co. v. Thresher Co., such a cause of action accrues against the person or persons who are interested in the land adversely to the plaintiff’s alleged right. It accrued in the first place against the then adverse parties. If the adverse rights of those persons to the property pass by contract or operation of law to other persons, the same cause of action continues, but the transferees become the persons against whom the same pause of action has accrued. The principles upon which the doctrine of “tacking” is based are applicable in such a case, and for the same reasons, as in a case of adverse possession. To illustrate the application of that principle, we cite the following cases: Moffit v. McDonald, 30 Tenn. 457; Nelson v. Trigg, 72 Tenn. 701; Smith v. Chapin, 31 Conn. 530. As we stated in Colonial & United States Mortgage Co. v. Thresher Co., we construe the term “cause of action” as used in the statute of limitations to be synonymous with the term “right of action.” Construing the term “cause of action” in that sense, and reading sections 5199 and 5210 together, we get this meaning from them: The plaintiff must 'commence his action within, the prescribed number of years after his cause of action first accrued, but the absence from the state of any person against whom the right of action has at- any time accrued tolls the statute during such absence as against such absentee or his successor in interest. We held in Mortgage Co. v. Thresher Co., that the mortgagee, after his cause of action had accrued, and before he commenced his- action, was daily put on inquiry as to the parties against whom his remedy must be enforced. It follows as a oorrollary of that proposition that, when a deed of the land is recorded after the cause of action has accrued and before the action has been commenced, the plaintiff is chargeable with knowledge of that fact. We hold, therefore, that the action is barred as to any share of the land of which the successive owners, while holding the title, have been within this state an aggregate period of ten years between January 6, 1887, and the date of the commencement of this action. In- computing that time as to any particular share, the time of defendant’s ownership should -be taken to have begun on the day the deed to her for such share was recorded.
*199As to the shares of the two minor heirs, it is clear 'that the action is not barred. The action is barred as to that share of the land inherited by David S. Dodds from his father, because the evidence shows that nine and one-half years have elapsed from the date the cause of action accrued before David S. Dodds left the state, and his share was acquired by Frich, and the latter’s deed had been recorded more than six months before the action was commenced. The evidence fails to show when each of the other heirs left the state^but implies that some left in 1896 and some before. On this evidence it can neither be affirmed nor.denied that the action is barred as to any particular part of the land other than the respective undivided shares derived from the two minor heirs and from the heirs of David S. Dodds. As to the former the action is not barred, but as to the latter it is. The plaintiff’s own pleadings and evidence showed that the cause of action accrued more than ten years before the commencement of the'action, and the burden was therefore on him to show, if he could, that the running of the statute had •been suspended as to all or some of the heirs by reason of their absence or nonresidence. 19 Am. & Eng. Enc. Law (2d Ed.) pp. 332-334, and cases cited. It follows that the consequences of the absence of proof on the points mentioned would fall upon the plaintiff, if final judgment were to be ordered by us on this record. The statute (Rev. Codes 1899, section 5630) governing the trial and appeal of cases of this nature provides that “the Supreme Court * * * shall finally dispose of the same whenever justice can be done without a new trial, and either affirm or modify the judgment or direct a new judgment to be entered in the district court; the Supreme Court may, however, if it deem such course necessary to the accomplishment of justice order a new trial of the action.”
It is apparent that the absence of any definite proof as to when each of the several heirs of the deceased mortgagor left the state is due to the fact that neither the trial court nor counsel for either party deemed such evidence material. Under such circumstances it would be unjust to order final judgment on this appeal, and a new trial should be had.
The judgment appealed from is reversed, and the cause remanded for further proceedings in accordance with this opinion. The appellant will recover the taxable costs of this appeal.
Morgan, C. J., concurs.' *200(103 N. W. 931.)