delivered the opinion of the court.
The plaintiff in his petition alleges that the defendants were common carriers; that they were on the 18th day of November, 1864, engaged in running a line of stages from St. Joseph, in the State of Missouri, to Council Bluffs, in the State of Iowa, for the purpose of carrying passengers and their baggage ; that on the said 18th day of*November, 1864, at the city of St. Joseph, the plaintiff took passage in a stage coach of the defendants for Council Bluffs, and paid the defendants the usual fare therefor, and that he delivered to the defendants, to be transported with himself to said Council Bluffs, his trunk with its contents, which defendants undertook to carry to said Council Bluffs, and there to deliver the same to plaintiff; that defendants did not transport and deliver said trunk and its contents to plaintiff, as they undertook to do, at Council Bluffs or elsewhere, and that the said trunk, when delivered to defendant as aforesaid, contained numerous articles of wearing apparel belonging to plaintiff, of the value of two hundred and fifty-two dollars and twenty-four cents, for which amount he asked judgment.
*518The defendants in their answer did not deny that they were common carriers and the owners of the.line of stage coaches, but they traversed all the other allegations contained *in plaintiff’s petition. Upon the trial before the court, the delivery of the trunk to defendants and its subsequent loss were proved by an unexceptionable witness. The deposition of the plaintiff was then offered for the purpose of proving the contents of the trunk. This evidence was objected to by the defendants and excluded by the court, to which action of the court in'sustaining the objection, the plaintiff at the time excepted.
Plaintiff then took a non-suit, and failing to get it set aside he has prosecuted his appeal.
By the common law rules of evidence, all parties in interest, and parties to the record, were excluded from giving testimony. But these were exceptions to these rules originating in necessity. Where a trunk was delivered to a bailee, or a common carrier, for transportation, and it was lost, or its contents purloined or violated, the owner, after proving its delivery by independent evidence, was admitted as a witness to testify to the particular contents of the trunk, there being no other evidence of the fact to be obtained. This exception arises ex necessitate rei, for it is not usual for persons in such cases, however prudent they may be, to exhibit the contents of their trunks to strangers, or to provide other evidence of their value. As a general proposition in such cases no better evidence is attainable, and when such is the fact it will be admissible. But the counsel for the defendants virtually admit this to be the rule at common law, and insist that it has been changed by statutory enactment in this State.
The code of 1855, in relation to witnesses, removed the common law disqualification to witnesses testifying on account of interest; it admitted those who were before incapable, and declared that the objection should go to their credibility, not.to their competency. The language of the first section being drawn in general terms, provided that no *519person offered as a witness should be excluded by reason of his interest in the event of the action. This phraseology was sufficiently broad to admit all parties to the record inclusive. The innovation on the common law was not intended to go to that extent at that timé,.hence it is enacted in the sixth section that parties to the action, or any person for whose immediate benefit the action is prosecuted, shall be incompetent. This left the principle governing in the production and admissibility of evidence as to parties just where it previously existed, and was nothing more than declaratory of the common law. It is palpable and manifest that the whole scope of the enactment, and the purpose the Legislature had in view, in interfering, was to enlarge and liberalize the rules of evidence, and not to restrict them; and least of all was it the intention to render incompetent any person whose competency was engrafted in the rigid rules of the law on account of necessity.
For the error in excluding the deposition of the plaintiff, the judgment will be reversed and the cause remanded.
The other judges concur.