delivered the opinion of the Court.
William P. Smith, the appellant, some time in 1883 endorsed a note for six hundred dollars, for a man named *566Boone. This note was discounted for Boone, by the Nat. Mechanics Bank of Baltimore. When the note fell due, which it did on 8th October, 1883, Boone was unable to pay it, and it was renewed for ten days, by Boone giving another note, for same amount, also endorsed by Smith.
This man Boone, whose note Smith had endorsed, was the owner of some property in Baltimore City — some of it lying on Pratt and some on Dover street. The Pratt street property being encumbered with a mortgage.
About the time of Smith’s endorsing this second note for Boone, it seems that Boone came to the conclusion that he could not pay the note, and offered to give Smith a deed for his property, that he might sell it and pay the notes. This Smith declined, on account of other business engagements. Boone then went to Alexander M. Briscoe, the appellee, and to whom he owed eight hundred dollars, and conveyed the property to him. Briscoe then agreed in writing w’ith Smith, that when he sold the property, so conveyed to him by Boone, and had applied one thousand dollars to pay off the mortgage on it and eight hundred dollars to pay his, Briscoe’s, own debt, the balance, to the amount of six hundred dollars, should be paid to Smith, on account of his liability,'as endorser for Boone.
Briscoe at the same time agreed to endorse a note for Smith for six hundred dollars, so as to enable him, Smith, to take up the note he had endorsed for Boone. This note, so endorsed by Briscoe, was not paid at maturity, went to protest, and was finally paid by Briscoe, the endorser, who sued Smith the drawer. The 'defence set up by Smith was, that Briscoe had been guilty of negligence in the sale of the property, and owing to his negligent management the property failed to bring enough to pay the note according to the agreement.
It is, in our opinion, a doubtful question whether the doctrine, of re.coupmeut could properly apply to a case like the present, had the question been raised in the Court *567below. It was not however made there, and we will treat Briscoe, as the appellant claimed ho was, as a trustee to sell the property, pay one thousand dollars to a mortgagee and eight hundred to himself and six hundred of the residue, if any, to Smith.
It appears that Briscoe offered the Pratt street property for sale, before the maturity of the note that he had endorsed for Smith, but did not get a bid for it.
Shortly afterwards the mortgagee sold the property for §1550, which was nearly all taken up in payment of the mortgage debt, expenses, &c.
It also appears that Briscoe, some time afterwards, had an offer of §700 for the Dover street property. The encumbrances on it amounted to §290, and he, Briscoe, offered to divide the balance of §410 with Smith, if Smith would consent to the sale for that. To this Smith consented, and it was done — Smith receiving the $205.23.
These are all the facts necessary to state.
First as to the prayers. The plaintiff’s prayer contained all the law applicable to the case. It placed the question of the plaintiff’s negligence, which was the sole defence to the note, fairly before the jury, and directed them if they found that the'property was not sold for enough to pay the $1800, prior liens, and that the plaintiff was not guilty of negligence, that then they should find for the plaintiff, for the amount of the note, less the $205.28 paid.
It is not necessary to discuss specifically the defendant’s prayers, as we have said the prayer of the plaintiff covered the whole law applicable to the case ; some of defendant ’s prayers are unsupported by the evidence, and some are erroneous in theory.
We.may say on this branch of the case that the agreement between Smith and Briscoe, upon which so much stress was laid, means clearly that Smith was to pay the note at maturity, unless in the meantime Briscoe should sell the property for more than the $1800.
*568Secondly, as to the admissibility of the evidence. It was shown by defendant that the Pratt street property had been sold at public sale by the mortgagee, and the sale ratified by a Court of competent jurisdiction; also that the plaintiff had offered the property at public sale without obtaining a bid. The defendant after offering the record to prove that the property sold for a certain sum, and that the sale had been ratified by a Court of competent jurisdiction, was precluded from attempting to show by parol that it was worth more — no fraud in such sale being charged.
Nor could, the defendant be permitted to prove the' value of the Dover street property, when he had agreed to its sale for a sum certain, and the Court below was clearly right in its ruling on the first and second exceptions.
The third exception presents a question of interest and importance, and upon which the law in some aspects seems to be unsettled. It is very true that in the case of the Balto. & Ohio Railroad Co. vs. State, use of Woodward, 41 Md., 268, the Court ruled that a party calling a witness had not,for the purpose of laying the foundation for impeaching him, the right to ask the witness, whether he had not made a certain' statement — different from that then testified to by him; and the Court refer to Greenleaf as authority.
Greenleaf states the general rule to be, that a party will not he permitted to impeach the general reputation for truth, or to impugn the credibility by general evidence of a witness he has called. This is the general rule, and accepted generally.
But the same author says that there exists some diversity of opinion, whether it is competent for a party to prove that a witness whom he has called, and whose testimony is unfavorable to his case, had previously stated the facts in a different manner. But the weight of authority,. *569be says, seems to be in favor of admitting the party to sh'ow that the evidence has taken him by surprise, or is contrary to what the party liad reason to believe he would testify to.
If the witness has made to the party who calls him. or to the attorney of such party, a statement totally variant from his sworn testimony, and on the faith of such statement he has been called, he may be asked if he made such a statement, and if he denies it, we see no objection to the proof of such statement, not for the purpose of impeaching the general character of the witness, but for the protection of the party calling him. If a plaintiff calls a witness, relying upon statements made to him or Ids attorney, and when on the stand he proves the defendant’s case, wo think that the principles of justice require that the plaintiff should be able to show why he called him. There are objections to either course, hut the more objectionable one would he to hold the party bound by the evidence of such treacherous witness. We restrict such declarations to those made to the party calling him or to his attorney, and made in reference to the case pending, and do not extend them to statements made to others. It is upon the statements so made to the party to the suit or his attorney that the witness is called. If the witness under such circumstances makes a false statement, he cannot complain that his falsehood is exposed.
But it is not every statement that may be made even to the party litigant or his attorney, that should be allowed to be contradicted by tbe party calling the witness. It should be left to the discretion of the Judge before whom the case is tided below to allow it to be done. The Court should be satisfied that the party has been taken by surprise, and that tlie evidence is contrary to what he had just cause to expect from the witness based upon his statements, and that such statements were about material *570facts in the case. It is not every light or trivial circumstance that would justify it.
(Decided 24th June, 1886.).
The attention of the Court in Woodward’s Case, supra, did not seem to be drawn to the distinction made between statements made to the party or his attorney and to -others. The statement in that case appears to have been made to some third party.
In the case of Franklin Bank vs. Steam Navigation Co., 11 G. & J., 28, the plaintiff took the testimony, under a •commission, of two witnesses, one of them, Davidson, the agent of defendant, and they gave different versions of a conversation between them. The plaintiff wanted to offer the testimony of Mitchell, the other witness, to contradict that of Davidson as to these conversations. This the Court said, and we think rightly, could not be done.
So in Sewell vs. Gardner, 48 Md., 178, the defendant took the testimony of a witness under a commission, and at the trial of the ca,se offered the witness’ letter to the defendant to impeach him, which the Court ruled out, and said that the opportunity to confront the witness with his letter was while he was testifying under the commission.
It will be observed that in none of these cases was the question directly raised, that the party calling the witness was taken by surprise, and that he had good reason to believe that the testimony would be different from what it was.
There can be no possible doubt that a witness who makes a false statement to a party or his attorney for the purpose of being called as a witness, is guilty of the grossest fraud which, if it can, ought to be exposed.
It follows from what we have said that the judgment must be affirmed.
Judgment affirmed.