¶1
¶2It is alleged in the petition that the value of the whole stock at the time the first attachment was levied was $5,668.10, and that the value of that portion of it which was taken on Kohn Bros.’ attachment was $5,032.86. Attached to the petition is what is alleged to be an inventory of the stock, and opposite each item on the inventory is set out what is alleged to be its value; and the petition alleges that certain of the articles enumerated in the inventory were taken on the attachment of Reigelman & Co., and that all the other articles were taken on the writ sued out by Kohn Bros. As stated in the statement of the case, plaintiff introduced evidence from which the value in the aggregate of the goods taken on the Kohn Bros, attachment might have been determined, but gave no evidence of the value of the specific articles. The question raised by the first assignment of the motion is whether plaintiff is entitled to recover in this form of action without proving the value of the articles composing the stock of goods of which he seeks to obtain possession.
¶3It is provided by section 3238 of the Code that the jury, in actions for the.recovery of specific property, must determine the value of the property whenever by their verdict there will be a judgment for its recovery or return; and that, when required so to do by either party, they must find the value of each article. It is also provided by section 3239 that the *666judgment shall determine which party is entitled to the possession of the property, and shall designate his rights therein and, if he have not the possession thereof, shall also determine the value of his right; and section 3241 provides that, if the party found to be entitled to the property be not already in possession thereof, he may, at his option, have execution for the specific delivery of the property, or for the value thereof as determined by the jury, and that, if any article of the property cannot be obtained on execution, he may take the remainder, with the value of the missing articles. It is clear from these various provisions that the object of the statute, in requiring the aggregate value of the property to be determined by the jury, is to enable the court, by its judgment, to afford the party entitled to the property a complete remedy, in case it cannot be obtained on execution, or in case of his election to take execution for its value; and the object of requiring the jury to determine the value of the different articles is to afford the party entitled to the property a complete remedy, in case he elects to have execution for its delivery to him, and any of the articles cannot be obtained on execution.
¶4Plaintiff was not in possession of the property at the time of the trial. He had not given the bond required by section 3229 of the Oode, and no order had been issued by the clerk for its delivery to him. If the jury had found that he was entitled to the possession of the property, and had also found the aggregate value, he might have elected to take execution for that value; and in that case, the court could have entered such judgment on the verdict as would have afforded him perfect relief. The court did not know when it sustained the motion that he would not make this election, in case he succeeded in establishing his right to the property. He had no occasion to show the value of the different articles, usless he intended to take execution for the delivery of the property; and, as he introduced no evidence of their value, the reasonable presumption is that he did not intend to make that election. *667Defendants had the light under section 3238, if any interest of theirs would thereby be protected, to require the jury to find the value of the different articles; but such finding was clearly not essential to plaintiff’s right of recovery.
¶5
¶6
¶7But if it should be conceded that the bank had the right under the mortgage to the possession of the property, it would not follow that pi aintiff cannot maintain the action. The rights created by the mortgage exist only as between the parties to the_ instrument and those claiming under them. The mortgagor is not divested by the mortgage of all interest in the property. By the instrument he passes the legal title and right of possession to it to the mortgagee as a security for the debt; but he retains the right of redemption and the ownership until they are extinguished by the foreclosure of the mortgage. As against all the world, except the mortgagee, or those claiming under him, he is entitled to the possession of the property. The case in this respect does not differ in principle from Evans v. St. Paul Harvester Works, 63 Iowa, 201. The deed of assignment passed to plaintiff all interest in the property which remained in Davis after the execution of the mortgage. Gim*669ble v. Ferguson, 58 Iowa, 414. It is said by appellees, however, that, if the mortgagee has the right to the possession of the property, he may maintain an action for its recovery; and, consequently, if plaintiff can recover against them, they may be compelled to respond to both parties for the value of the goods. But, as is pointed out in Evans v. St. Paul Harvester Works, sufra, they have it in their power to protect themselves against this double liability by having the mortgagee made a party to the proceeding and its rights determined by the judgment.
¶8The district court erred in taking the case from the jury and directing the verdict for defendants, and the judgment will be
¶9Reversed.