The main question in this case is whether, where property sold under a void foreclosure of a mortgage as the property of the mortgagor which has been purchased hy one at sheriff’s sale and the purchase money applied to the payment of the mortgage, and said sale and purchase is afterwards set aside and declared void, such purchaser can be subrogated to the rights which the mortgagee originally had to have his mortgage foreclosed and the property therein conveyed sold in discharge of the lien of the mortgage. It will not he necessary to consider any other question made hy this record. While we are not permitted to lift the veil of the future, we take the liberty of pushing back the shutters of the past so as to let the light shine upon this question.
We think the authorities sufficiently answer this question in the affirmative. In 2d Freeman on Executions (2d ed.), §852, it is laid down that a purchaser at a void judicial sale, under foreclosure, has the same