Opinion by
Mr. Justice Elkin,In disposing of the question raised by this appeal, it is important to keep in mind, that the real estate devised being the subject-matter of this controversy, belonged absolutely to the testatrix, who had the undoubted right to subject her testamentary gift to such conditions and limitations as she chose to impose, provided onty, that the limitations and conditions were lawful in purpose and not restricted by statute. It is *533not for him who receives the gift to fix the quantum of the estate devised, the time when it is to vest absolutely, the method by which it is to be controlled or managed, or the conditions to which it is subjected. As was said by our present Chief Justice in Holbrook’s Estate, 213 Pa. 93, u In Pennsylvania the right of a man to do as he will with his own has always been liberally construed. Accordingly, a donor, not under any obligation to give, may give with such conditions as he pleases, subject only to the restriction that the conditions shall not be clearly illegal.” That a benefactor has the power to restrict the enjoyment of his bounty through the medium of a trustee during the life of the beneficiary is the unquestionable law of this state: Rife v. Geyer, 59 Pa. 393. If the trust can continue during the life of the beneficiary it necessarily follows that it may be operative during the lifetime of the trustee named in the will and in being at the inception ot' the trust. It seems to have been conceded by the learned presiding judge in the court below, that a valid active trust had been created by the express terms of the will of the testatrix, but it was held that the trust terminated when the beneficiaries became of age because of the statute which prohibits the permanent accumulation of income beyond the period of their minority. There is abundant authority to show that a valid active trust was created by the sixth paragraph of the will of Mary O’Hara Spring, deceased: Barnett’s Appeal, 46 Pa. 392; Rife v, Geyer, 59 Pa. 393; Dodson v. Ball, 60 Pa. 492 ; Marshall’s Estate, 147 Pa. 77; Cooper’s Estate, 150 Pa. 576. It is immaterial that the provisions of the will creating the trust follow an absolute' devise of the estate to the beneficiaries: Sheets’s Estate, 52 Pa. 257; Wilbert’s Estate, 166 Pa. 113; Boies’s Estate, 177 Pa. 190; Krebs’s Estate, 184 Pa. 222. Nor does the fact that there was no limitation over affect the validity of the trust, if, as in the case at bar, it clearly appears that it was the intention of the benefactress to create a trust and thus guard her bounty with the protection of a trustee in whose judgment and discretion she evidently had the fullest confidence. It is a primary rule of our cases to give effect to the intention of the testator, and the presumption always is that the intent was lawful. Applying this principle to the present case, there is presented an active trust created by apt *534words and a testamentary intent clearly expressed, which must be sustained, unless it can be shown that the trust thus created is in violation, of an inflexible rule of law or of statutory restrictions. The burden is on him who undertakes to show the illegal purpose. It seems to have been assumed by the learned presiding judge in the court below, and is suggested by the eminent counsel for appellee here, that in order to support a trust of this character it must be a coverture trust, or a spendthrift trust, or a trust to support contingent remainders. We do not so understand the law. An active trust may be created as a protection to the beneficiary because of his inexperience, improvidence, inability to manage his estate or for any other purpose, not illegal, which the benefactor may deem wise or expedient in order to carry out his intentions: Perry on Trusts, section 305. Or as is stated in Pomeroy’s Equity Jurisprudence, vol. 2, section 991. “'They (active trusts) may, except when restricted by statute, be created for every purpose not unlawful.” We quite agree with the learned president judge of the court below in King’s Estate, 210 Pa. 435, wherein he announced the very sound doctrine that there is just as much reason for sustaining a trust per autre vie as an estate per autre vie.
There remains one question for our consideration in this case. Did the temporary placing of the control and management of the estate devised in the hands of the trustee with discretion as to the time of terminating the same and of disposing of the accumulations bring the trust within the meaning of the Act of April 18,1853, P.'L. 503, which prohibits the permanent accumulation of income except during the minority of the beneficiary? Was the trust under the provisions of the will for accumulation only, or was the accumulation of income an incident to the general purpose thereof ? It is an accumulation designed as a permanent addition to the corpus of the estate beyond the statutory period which is prohibited. It, however, has been frequently held' that accumulation in the nature of the withholding of income temporarily and for the purpose of providing a fund in the interest of the judicious management of the trust is valid, and for such a purpose and to such an extent a testator may validly confer upon a trustee discretionary power over income: Eberly’s Appeal, 110 Pa. *53595; Hibbs’s Estate, 143 Pa. 217; Howell’s Estate, 180 Pa. 515. We think the case at bar belongs to this class of cases and is controlled by the rule therein laid down. The trustee is vested with large discretionary powers, and, acting entirely within the authority contained in the will, can pay to the beneficiaries the entire income. The corpus of the estate with afi the incidents of improvements, insurance, taxes, repairs, is under the control and management of the trustee. The trustee is given the power to manage the estate, receive the income, pay out the whole or any part of it for the use of the beneficiaries, and to terminate the trust estate at any time when she shall deem it advisable for the best interests of the beneficiaries. Since the death of the testatrix these active duties have devolved upon the trustee and have been performed by her. She is now exercising her control and management of the estate as directed by the will, and we can see no sufficient reason why the intention of the testatrix should be disregarded. So far as the record discloses, there is no occasion to go into the question of the good faith of the trustee in either paying or withholding the income. The only income unpaid at the time of the filing of the petition, was about $600, which has been since that time voluntarily paid to the appellee. We doubt not that the trustee in the future will continue to pay the beneficiary such portion of the income — or all of it — as she shall deem expedient for his best interests.
Decree reversed and petition dismissed, costs to be paid out of the trust estate of appellee.