This was an action of debt, brought by the plaintiffs in error against the defendants in error, because of a failure on the part of Amos Atkins to comply with the conditions of his bond as executor of the last will and testament of John Atkins, deceased. The case was heard in the circuit court upon an agreed state of facts, substantially as follows: John Atkins died testate in Madison county, Illinois, in the year 1857. One provisión of his will is as follows: l£ And as to the residue of my personal property, I direct my executor to make public 'sale thereof, in such manner as is now provided by law, and the money arising therefrom, as also what money may be on hand at the time of my decease, to be loaned out by my executor in such manner and in such sums as my executor thinks most advantageous to the interest of my estate until the death of my wife, after which I direct the same, and the interest that may accrue thereon, to be equally divided to and amongst my following named, children, to wit: My son, Amos, one equal part; my daughter, Sarah Elizabeth, wife of Milton Drummond, one equal part; and to my daughter, Elvira Ellen, wife of Wm. Marcum, one equal part; and to my daughter, Bosannah, wife of Julius C. Gibson, one equal part; to be apportioned to and paid to them, respectively, as soon as the same can be collected, after the death of my wife, as before stated.”
Amos Atkins was nominated in said will as executor, and on the probate thereof qualified as such executor with his co-defendants as sureties on his bond.
That on the 27th day of February A. D. 1859, there was in the hands of the executor, by virtue of said will and after the debts of the estate were paid, the sum of $2761.88. That on the first day of March, A. D. 1857, the said executor loaned or advanced to Bosannah Gibson, one of the devisees named in the will, of the said residuary fund the sum of $155, and se*109cured therefor the note of the said Hosannah and her lmshand, Julius C. Gibson, for the sum of §455. That on the twenty-first day of J an nary A. D. 1861, the said executor loaned or advanced to Elvira Ellen Marcum, another one of the devisees named in said will, the sum of $502 out of the said residuary fund, and secured therefor the note of the said Elvira Ellen Marcum and William Marcum, her husband. Each of said notes were made payable to the executor in his official character. That prior to the proceedings against the defendant in error, Amos Atkins, in the county court, lie as such executor, paid to Sarah E. Drummond, another one of the devisees named in the will, the full amount of her share in said residuary fund and secured her receipt therefor. That the defendant in error, Amos Atkins, also a devisee named in said will, on the 24th of November, A. D. 1879, filed his written release or receipt for all claims or demands he had against the estate of the said John Atkins, by reason of any provision in said will.
It was further agreed that the wtidow of the said John Atkins is still living; that the said Elvira Ellen Marcum died July 10, 1870, leaving her husband and Maria A., Mary A., Sarah E., John A., William F. and James F. Marcum, her children, her surviving. That Rosannah Gibson died the 8th of November, A. D. 1878, leaving her husband and Sarah J., Julia M. and Elenora Gibson, her children, her surviving-That the said Julius C. Gibson and William Marcum, whose names were signed to the said notes, are now and were at the time of signing the same, insolvent, and that there has been no administration upon the estates of the deceased devisees. That the said notes and interest thereon are wholly unpaid; and that the said Amos Atkins brings said notes, the receipt of Sarah E. Drummond and his own release into court.
That the County Court of Madison county, at the J uly term' thereof, A. D. 1879, revoked the letters testaraentary issued to the said Amos Atkins, because of a failure on his part to give an additional bond as such executor as' required by an order of said county court before that time entered of record. That Frank W. Burnett was appointed and qualified as administrator da bonis non cum testamento annexo of the estate of the' *110said John Atkins, deceased; and the said Amos Atkins was required within twenty days of that time to pay to the said administrator da honis non the sum of $8,491.79, with interest from the 27th day of February, A. D. 1879, at the rate of six per cent, per annum. That at the September term of said county court, A. D. 1879, all parties in interest being present, the order to pay money to the administrator da honis non, was changed and modified so as to read as follows: “ And it is further ordered by the court that Amos Atkins transfer and deliver over to the said Frank W. Burnett all such moneys, goods, chattels, debts and credits as have come to his possession as such executor, excepting six per cent, on the increase of said estate since the 27th of February, A. D. 1879, which is hereby allowed him as commissions.”
All questions of pleading were waived, and upon this state of facts the cause was submitted to the court, and judgment entered in favor of the defendants in error. As has been seen, the will provided that the executor should loan the money on hand in such sums as the executor thought most advantageous to the interest of the estate until the death of the testator’s wife, after which the money and accumulated interest was to be equally divided, etc.
By this provision in the will the interests of the devisees vested immediately, to be paid upon the death of the wife of the testator. They each held such an interest in the residuary fund as might be transferred, and upon the death of either one of them the share of such deceased one would go to his or her heirs. Roberts, executor, v. Brinker, 4 Dana, 571. Hence, Sarah E. Drummond, one of the devisees, might, if she saw proper, transfer or receipt for her entire interest in the residuary fund. And the defendant, Amos Atkins, also a devisee, might release his interest therein. The agreement shows that in March, 1857, Rosannah Gibson received from the executor out of the residuary fund the sum of $455. And that on the 21st day of January, 1861, Elvira Ellen Marcum received from the executor, out of the same fund, $502. The heirs of these two devisees are alone interested in the result of this suit. And it is insisted by counsel that inasmuch as the ex-*111ecu tor was directed by the will to loan the money until the death of the testator’s wife, and then pay the legacies, that he should now account for the full amount of said residuary fund.
There is no question but that the testator had the power to provide in his will that the legacies should be paid upon the death of his wife. It is competent for a testator to fix the time for the enjoyment of his bequest, and the devisees cannot claim to take the estate except in the manner and mode provided in the will. Rhoads v. Rhoads et al. 43 Ill. 239. We do not hold that there is any repugnancy in the will. If this was a suit to compel the executor to pay the legacies prior to the time named in the will, a very different question would be presented. The executor held the money in trust for the benefit of the devisees. These two devisees, Marcum and Gibson, eestuis que trust, united with the executor in a disposition of so much of the trust fund.
It is immaterial whether the money was received as a loan or as an advance. They did receive the money, and could not, if living, ask that it be paid again, and their heirs are estopped from claiming a re-payment of said sums by the action of their immediate ancestors, the devisees named in the will, who, there is scarcely any doubt, the testator presumed would enjoy the legacies provided for them. The real parties in interest in this suit occupy the same position as the devisees would if living. It would be strange if the devisees could, after receiving and having the use of so much of the residuary fund for twenty years, admitting the fact and that they were the only parties in interest, claim that it was paid to them before the time provided for by the terms of the will, and therefore they are entitled to the same sums again, together with the accumulated interest. It would be unjust and inequitable, and allowing them to take advantage of their own wrong, because if the payment or advance by the executor was a wrong they participated in it, and are estopped from taking any advantage of the error. Still it is admitted that the residuary fund on the 27th day of February, 1859, amounted to $2761.88, the interest of each one of the devisees therein being $690.47. It will be seen that neither Bosannali Gibson nor Elvira Ellen Marcum received *112from the executor the full amount of their interest in said fund. And for the remainder with legal interest, after deducting such commissions and charges as by law are allowed to the executor, the plaintiffs are entitled to a judgment. The judgment of the circuit court is reversed and the cause remanded.
Beversed and remanded.