It was held in Campbell v. Dearborn, 109 Mass. 130, that, although a deed be given which is absolute in *52form, yet the grantor may prove by parol testimony that it was understood and agreed by both parties to be given as security for a debt; and that upon such proof a court of equity will treat the deed as a mortgage. This is decisive of the case at bar.
For some reason, which does not appear to be fraudulent, the plaintiff did not directly convey the estate in question to the defendant’s testator; he permitted the latter to obtain a judgment upon a debt in part fictitious, and thus to get a title by a levy upon the execution, and also to foreclose by a sale under an existing mortgage. But the-substance of the transaction was the same as if a deed had been directly given by the plaintiff. Both parties agreed that the title thus obtained was to be held solely as security for the debt of the plaintiff to the defendant's testator, and a court of equity will treat the transaction according to its real nature as a mortgage.
The defendant does not stand in the position of an innocent purchaser, as she contends. She took as a general devisee under the will of her husband, and besides is shown to have had notice of the nature of the transaction. Decree affirmed.