Lindsay, J.—There are two errors assigned in the record of this case, either of which we deem sufficient to reverse it. The rule at common law, that no party to the record is a competent witness to testify for or against "other parties thereto, is still the rule of administrative justice in matters of contract, and has not been changed by the statutes of this state. The statutes of Texas upon the testimony of parties to the record, or rather in reference to taking the answer of the defendant, were enacted to engraft a rule of equitable proceeding upon the common law, which had been adopted by a general statute as the rule of decision, and without such statute all trials in this state would have been subjected to the rigid rules of the common law. These enactments, with others of a like tendency, were the methods of blending the equity and common-law systems *607in our civil jurisprudence. But the principles of neither system were intended to be changed by such legislation, except where the special statute itself specifically avows that purpose. ¡No such purpose is declared in the statutes upon the question of evidence. The object designed in calling upon a defendant to testify is to secure the equitable right of discovery against the deposing party by purging his conscience. It is not for the purpose of obtaining a discovery against others. Both law and equity, unmodified by statutory enactment, clearly sustain the view which we have here taken, and upon principle the co-defendant’s testimony was improperly admitted on the trial. Its exclusion is also justified by the authority of the case of Grill v. Campbell, in 24 Texas, 407. That case would exclude the witness on the score of interest. His interest in the result of the suit was most obvious. He was a partner of the plaintiff, and also a partner of Ms co-defendant. He was certainly interested in maMng out upon the trial that the original liability, if it existed at all, was a joint liability, which only made Mm, as a firm member, responsible for one-half of it. He was interested in establishing that fact upon the trial. The allegation that the plaintiff sought only to recover one-half of the partnership demand (the witness, as a partner, being entitled to the other half, and being also a partner in the firm sued) did not obviate the necessity of maMng proof of the facts. And if his testimony conduced to establish any of the facts in the least degree, he was giving evidence in his own favor against a third party, which is repugnant both to law and justice.
The suit was for money had and received by one firm for the use and benefit of another. In defense to the action the party had a right to show any facts which might evince to the court that, ex equo et bono, he ought not to be made liable. In the issue made by the pleadings in this case the defendant was authorized to introduce proof to show either the amount or the value of what he did *608receive, or to show that it was valueless, and in good conscience he ought not to be required to pay. He might have shown that, although there was an actual .deposit of a definite amount of nominal specie dollars for the use and benefit of the plaintiff' in his care and custody, yet they all turned out to be spurious and counterfeit and of no value, and therefore the plaintiff ought not to recover against him. This is certainly the law upon such a state of facts as is set forth in the pleadings of the plaintiff in this action. The court, therefore, erred in excluding testimony offered by the defendant to show what amount in value was had and received by the defendant for the use of the plaintiff. The judgment of the court below is therefore reversed and a new trial awarded.
Reversed and remanded.