6. At any time within six months after recording such certificate of
sale, the owner of the premises or any lessee, mortgagee or
incumbrancer, thereof, or of any part of the same, may redeem the
premises or any such part from such sale by paying to the purchaser the
amount paid by him on the sale, and all cost and expenses incurred by
him in any action or proceeding to recover possession with interest at
the rate of ten per centum per annum thereon. If redemption is made by
the owner, the right of the purchaser shall be extinguished; if by a
lessee, the amount paid shall be applied as a payment upon any rent due
or which may accrue upon his lease; if by a mortgagee or an
incumbrancer, the amount paid shall be added to his mortgage,
incumbrance or other lien, or if he have more than one to the oldest,
and shall thereafter be a part of such mortgage, lien or incumbrance and
enforceable as such.