By the Court,
Prim, J.:The only question presented for determination in this case, is whether the note upon which this action is based was barred by the statute of limitations. It was executed in the state of Illinois, on the twenty-fifth day of July, 1866, and was payable to the appellants or order at their office in Chicago on the first day of July, 1867. At the time when this cause of action accrued all of these parties were residents of the state of Illinois, and continued to be so until about three years prior to the commencement of this action since which time respondent has resided in this state.
Section 6 of our code, page 106, provides that actions upon contracts not under seal must be commenced within six years after the cause of action accrued. More than six years had elapsed prior to the commencement of this action and since the right of action accrued, but it is claimed that it comes within the exceptions contained in section 16, which are in these words: “If when the cause of action shall accrue against any person who shall be out of the state, or concealed therein, such action may be commenced within the terms herein respectively limited after the return of such person into the state, or the time of his concealment, and if after such cause of action shall have accrued, such person shall depart from and reside out of this state, or conceal himself, the time of his absence or concealment shall not be deemed or taken as any part of the time limited for the commencement of such action.” It will be seen that this section provides for two classes of persons excepted out of the general rule contained in the various sections, in Avliich the respective actions are therein limited:
1..If a person shall be out of the state or concealed therein when the cause of action accrues, such action may be commenced against him Avithin the terms therein re*236spectively limited after his return to the state, or after his concealment.
2. If after a cause of action shall have accrued, such person shall depart from and reside out of this state, or conceal himself, the time of his absence or concealment shall not be deemed or taken as any part of the time limited for the commencement of such action.
It will be seen that non-residents are not embraced in either of these exceptions, nor do we think that it was intended by the legislature that they should be; and this becomes more evident when we take into consideration section 6, which is in these words: “When the cause of action has arisen in another state, territory or country, between nonresidents of this state, and by the laws of the state, territory or country where the cause of action arose, an action can not be maintained thereon by reason of the lapse of time, no action shall be maintained thereon in this state.” These sections being pari materia must be construed together.
The statutes of New York and Massachusetts contain the same provisions substantially adopted in section 16 of our code, but not the provision of section 26. Their courts hold that these provisions apply to both residents and nonresidents. To adopt their construction of these provisions would render the provisions of section 26 of our code nugatory. Ruggles v. Keeler, 3 Johns. 265, is one of the early cases decided in New York by Judge Kent in 1808, and the courts of that state and Massachusetts have followed that decision ever since. It was held in that case that although the cause of action was barred in the state in which it arose, it was not barred in the state of New York, unless the party had been in that state six years prior to the commencement of the action. The doctrine announced in that case is denied in the state of Texas. (3 Texas 106.)
It was held there that the statute of limitations begins to run on debts contracted in another country, by a person who afterwards removes to that state, at the time when the cause of action accrued there, and not at the time of the debtor’s arrival in Texas — that if a law passed by the legis*237lature of Texas is similar in its terms to a law of other countries or states, the courts of the state are not obliged to give it the same construction.
Not having either the book in which the case is reported, or the statute of Texas before us, we are unable to ascertain what the provisions of the Texas statute are, but infer from the digest that they are similar to those in New York.
"We have reached the conclusion that the provisions of section 16 of our code considered in connection with section 26 should be construed to apply to residents only. We therefore hold that the statute of limitations of this state began to run on the note upon which this action is based, at the time when the cause of action accrued in Illinois, and not at the time when the respondent arrived in this state.