This was an action by a bank depositor to recover from the defendant bank the balance claimed to be due him as such depositor. The defendant answered, denying many of the allegations of the complaint; and pleaded, as a counterclaim or defense, a balance of $273.59, claimed to be due the defendant on a promissory note executed by one Rice to the plaintiff, and indorsed by said plaintiff, and which had become the property of the defendant bank, and which amount it had deducted from plaintiff’s account. To this counterclaim or defense the plaintiff, in a reply, pleaded the statute of limitations in bar. The plaintiff recovered judgment for the full amount of his deposit, and the defendant appeals. The note on which the counterclaim is based bears date July 28, 1884, and was by its terms payable on or before July 28, 1885. The plaintiff, as payee, transferred the note before its maturity. This action was commenced subsequently to December 1, 1891, more than six years after the maturity of the note, and the defendant bank claims to have applied the sum of $273.59 of the plaintiff's deposit to the payment of the balance due on said note, at about *268the latter date. On the trial, the plaintiff introduced evidence tending to prove that on December 9, 1891, he had on deposit with said bank the sum of $478, which the defendant, on proper demand, refused to pay him; and rested. The defendant, thereupon, to prove its counterclaim or defense, introduced in evidence the promissory note in controversy set out in its counterclaim or defense, with the indorsement of the plaintiff thereon, and evidence tending to prove that there was due and unpaid thereon on December 1, 1891, the sum of $273.59, and that on July 25, 1885, certain payments were indorsed upon the note, and that on March 22, 1889, the receipts of the proceeds of a sale of foreclosure of a mortgage, given to secure the payment of said note by the maker, were indorsed upon the note at that date; and rested. The plaintiff offered no further evidence, and the case was thereupon submitted to the court, which found, among other facts, the following: “That the plaintiff therein is a resident of Lake county, South Dakota, and has been a resident of said Lake county during all the times mentioned in the pleadings in this action.” “Third. That the plaintiff deposited money in the defendant bank at various times, and that on the 9th day of December, 1891, plaintiff had on deposit in defendant bank the sum of $478. Fourth. That on the 9th day of December, 1891, plaintiff presented his check on defendant bank, payable to himself, for $478, at the counter of said defendant bank, during the business hours, and that said check was then and there refused. Fifth. That said defendant bank had in its possession, on said December 9, 1891, a certain note drawn by Elbert N. Rice, payable to plaintiff, dated July 28, 1885, for $400, and on'the back of which was written the name of the plaintiff, preceded by the words, ‘Pay to the order of W. F. Smith.’ ” The statement in the abstract given in the fifth finding of the court, that the note bears date of July 28, 1885, is clearly a clerical error, as the note, as copied in the record and as set out in the answer, bears date of July 28, 1884, and *269was made payable on. or before July 28, 1885. In tbe briefs of counsel it is treated as bearing date of July 28, 1884, and it appears to have been protested for nonpayment July 31, 1885. We shall therefore assume that the date of the note as stated in the fifth finding was intended to be read 1884 instead of 1885. The court concludes as matters of law, as follows: ‘‘Second. That due and legal demand of payment of said sum was made by said depositor on said December 9, 1891, by presenting his check for said amount at the counter of said bank, during business hours, payable to himself. Third. That no part of said money has ever been paid said plaintiff by defendant, but there is now due the plaintiff from defendant the sum of $478, and interest thereon at 7 per cent per annum from December 9, 1891. Fourth. That the note held by defendant, and introduced in evidence and marked ‘Exhibit A,’ came due July 28, 1885. Therefore more than six years had elapsed since the maturity of said note, before the commencement of this action, and hence action on this note is barred by statute of limitation. ”
Appellant contends, first, that the evidence is insufficient to support the finding that a demand was made upon the bank for the money due the plaintiff, prior to the commencement of the action. Without intimating any opinion as to the necessity for such a demand, we think there was, in the absence of any conflicting evidence, proof sufficient to support the finding of the court. This brings us to the important question involved in this case, namely, was the evidence that the note was barred by the statute sufficient to support the plaintiff’s reply and the court’s conclusion of law? Appellant contends that the court erred, in its conclusion of law that the note was barred, for the reason that the plaintiff gave no evidence in support of his reply, and that the facts pleaded in his reply, being deemed in law to be controverted by the defendant, must be regarded as not proven. This contention of the appellant is not tenable, under the facts proven in this case. The plaintiff pleaded the *270statute, as he was required to do to avail himself of the bar; but when the defendant introduced the note in evidence, the court taking judicial notice of when the action was commenced, it proved prima facie the allegations in plaintiff’s reply (Searls v. Knapp [S. D.] 58 N. W. 807), as it appeared upon its face to be barred by the statute; and defendant’s "evidence further proved that the indorsement of payment of March 22, 1889, was made upon the foreclosure of the mortgage given to secure the payment of the note, and was not a payment made by the plaintiff. 'Where one party introduces a written instrument in evi-dénce, without any limitation of the purpose for which it is introduced, it is in evidence in the case for all purposes, and the adverse party may avail himself of it in support of his pleading, the same as though formerly offered in evidence by himself. Esshom v. Hotel Co. (S. D.) 68 N. W. 229. It further clearly appeared, by the evidence of the defendant’s cashier that the amount claimed by the bank to be due on the note was not applied upon the note or charged up to the plaintiff until December 1, 1891. These facts, and the evidence of the plaintiff, and admissions in the defendant’s answer tending to prove that the plaintiff had resided in this state since the date of the note, constituted prima facie a good defense to the note under the statute. At that stage of the case, it was incumbent upon defendant, if it had any evidence to rebut this prima facie case, and to show that the note was not in fact barred, to introduce such evidence in rebuttal of plaintiff’s case. Meyer v. School Dist., 4 S. D. 420, 57 N. W. 68. The defendant failed to give or offer any evidence, and the plea of the statute was therefore established, and the conclusion of law by the court that the note was barred by the statute was correct. The contention of appellant, that the finding of the court that the plaintiff was a resident of the state during all of the time of the transactions in controversy is not supported by the evidence, is clearly untenable. Assuming, without deciding, that such proof was necessary, it was shown in this case that the note was executed *271and made payable in this state; and the defendant alleged in his answer “that on the 14th day of April, A. D. 1884, plaintiff became a customer of the defendant, and ever since, and up to December 1, 1891, they had dealings and kept mutual accounts with each other;” and the plaintiff testifies that, at the time of the trial he was a resident of Lake county. This evidence, un-contradicted, with defendant’s answer, was clearly sufficient to support the finding. The plaintiff’s defense of the statute of limitations being sustained, it is not necessary to discuss the other questions in the case. The judgment of the circuit court is* affirmed.