The plaintiff, the purchaser at a mortgage foreclosure sale, brought this action to enjoin the defendants from redeeming from the sale under a void judgment purporting to have been rendered in their favor against the mortgagor. If the allegations of the complaint are true, the pretended judgment is absolutely void for want of jurisdiction of the person against whom it was rendered. The trial court ordered judgment on the pleadings in favor of the defendants. This must have been done on the ground that the complaint did not state a cause of action.
*239The judge filed no memorandum stating wherein the complaint was insufficient, and the only reasons urged by counsel in support of the ruling of the court are: (1) That even if the judgment under which defendants propose to redeem is void, the plaintiff will not be injured by the redemption, because he will get back his purchase money and interest; and (2) the plaintiff being a stranger to the judgment, he has no right to attack it. The first of these contentions is based upon what was said in Bovey-De L. Lumber Co. v. Tucker, 48 Minn. 223, 50 N. W. 1038. Some language was used in the opinion in that case which, if detached from the context, and read without reference to the facts to which it was applied, might seem to sustain the contention. It is not true that the only right of a purchaser at a mortgage sale is to receive back his purchase money and interest. He has the right to acquire absolute title to the land, unless it is redeemed within the time allowed by law by one who.has a right under the statute to redeem; and he cannot be deprived of this right by one who is not a lawful redemptioner. If the law was otherwise, anybody and everybody might redeem, without the purchaser being able to question their right to do so. New England M. L. Ins. Co. v. Capehart, 63 Minn. 120, 65 N. W. 258.
2. This void judgment, if given credit and effect, would prejudice the plaintiff in regard to his rights under his purchase at the foreclosure sale. Therefore he has a right to attack it, according to the very authorities cited by the respondents. Freeman, Judg. § 335. He is not attacking.it for the benefit of the judgment debtor, as counsel seem to assume, but for his own benefit, in order to prevent an unauthorized redemption.
Order reversed.