James M Casey, as administrator of Andrew J. White, deceased, brought suit, by attachment, in the Randolph circuit court, against Hiram A. Kelsey. The writ was, on the 19th day of March, 1869, levied on certain lands, and judgment for his debt was recovered on the 9th of May, 1868. On the 20th day of March, 1867, the same lands were again attached, at the suit of Louis Hanauer and Jacob Hanauer, before a justice of the peace, and judgment was recovered by them. Executions on both judgments were delivered to the sheriff at the same time, and the lands were sold by him under each, on the first day of the March tei’m, 1869. They were offered first under Louis and Jacob Hanauer’s execution, and purchased for seventy-five dollars, by John P. Brimmage, jr., and then under Casey’s, and purchased for eight dollars, by Ewing Y. Mitchell.
Casey, upon the return of the executions, moved that the sheriff be ordered to pay the money arising from the sale, under Louis and Jacob Hanauer’s execution, to him, upon the ground that his attachment was prior to theirs. Louis and Jacob Hanauer appeared and resisted the motion, but the same was sustained by the court, and the money was ordered to be paid to Casey, and they appealed from the decision.
*355The provision of section 52, chapter 17, Digest, that whei’e there are more attachments than one upon the same property, they shall be paid according to the priority of their levies, was intended to secure the liens of the prior against the junior attachments, and it is very clear that it does not mean that where there shall be a sale of the property under a junior attachment, which does not have the effect to discharge the prior liens, the money arising from it shall be applied to the payment of the prior attachments. It is true, where several executions come to the hands of the sheriff, at different times, and he sells personal property under the last, the others are to be first paid; but this is because the property levied on is bound, by the executions, from the time of the delivery of them to him; and upon a sale thereof, he must, to be entitled to receive the price, deliver the same to the purchaser, which, as a matter of course, releases the liens, and an absolute title passes to the purchaser. Russell v. Gibbs, 5 Cow, 390; Peck v. Tiffany, 2 Comst., 451.
A different rule, however, prevails as to the application of the proceeds of a sale of real estate.
Section 6, chap. 96, Digest, says: “A sale of lands under a junior judgment shall pass the titles of the defendant, subject to the lien of all prior judgments and decrees then in force;” and section 7, that “the money arising from such sale shall be applied to the payment of the judgment under which it may have been made.” The reason of this provision of the statute is too apparent to require any remark, and the rule established by it is equally applicable to sales of real estate in attachment-proceedings.
Had the lands been sold at the same time, under both executions, and the levy of Casey’s attachment thereby discharged, there can be no question that he would have been entitled to the money, or to the amount of his judgment out of it, if it had brought so much. But the sale of them under Louis and Jacob llanauer’s execution, neither discharging or impairing the lien of his attachment, we are unable to see how he can *356set up any just claim to tbe proceeds of it. Sandford v. Roosa, 12 John. 162.
We are, therefore, of the opinion that the court below erred, in making the order appealed from, and its decision is reversed, and the cause remanded to it- with instruction to overrule the appellee’s motion.