The opinion of the court was delivered by
Jackson, J.:This is an appeal in a case to construe the will of Sarah G. Foster after the estate had been administered and was ready for closing. Because of the importance of this case, it was set down for reargument at the November session of the court.
The three executors, who are also named as trustees in a trust created by the will, filed a motion asking that the will be construed. *499This motion was seconded by a motion of Miriam F. Ball — only child of the testatrix — who asked that the will be construed and also suggested that the will was invalid because it violated the rule against perpetuities. Mrs. Ball also filed a motion to transfer the within motions to the district court and this motion was allowed.
The district court after a careful hearing held that the will violated the rule against perpetuities, the rule against unlawful restraint on alienation, and the rule against unlawful accumulations.
The testatrix Sarah G. Foster had created a trust which included practically her entire estate, which is of considerable worth, and provided that Miriam F. Ball would receive an income of fourteen-twentieths (14/20) of the income for life and six-twentieths (6/20) of the income to be reinvested in the trust property or new property and that the trust should not be distributed until the time the “youngest child of the body, and not by adoption, of my daughter, Miriam F. Ball, reaches the age of twenty-three (23) years, or at the death of my said daughter, Miriam F. Ball, whichever event occurs the later, in the following manner and in the following shares, to wit:” The gift was to the children of the body of the daughter Miriam, and to any issue of predeceased children per stirpes.
The trial court held that he would simply strike out all provisions requiring that the grandchildren be twenty-three years of age and leave the provision providing that the distribution of the trust would be upon the death of Miriam.
The appellant Miriam F. Ball has appealed claiming that the will, being invalid as to the trust, cannot be made over and that the estate should descend to her as the only heir at law by intestacy.
As will appear, one of the granddaughters Marjorie McCullough Staggs was given the bank stock in the Gorham State Bank and it is agreed by the parties that this gift is entirely valid and is not challenged in this action.
The guardian ad litem attempts to show that the interest of the testatrix’s grandchildren is vested. A proposition to which we cannot agree. In the case of Beverlin v. First National Bank, 151 Kan. 307, 98 P. 2d 200, Mr. Justice Allen had a question of the vesting of an estate in connection with the rule against pérpetuities. At page 310, he said:
“It could be argued, however, that each grandchild living at the death of the testator would acquire a vested interest at the age of twenty-five subject to open and let in others who attain that age. (See 51 Harvard Law Rev., p. 1329, *500hereinafter noted.) But such interests are not vested within the meaning of ‘vested’ under the rule against perpetuities. As stated by Simes in his admirable work on Future Interest, section 499: ‘A class gift is considered as a single gift. Hence it is all good or all bad under the rule. We may therefore lay down the rule that a class gift is not regarded as vested, for the purpose of the rule against perpetuities, as long as the maximum membership of the class is not ascertained.’ The gift to the grandchildren is therefore contingent, although there was a grandchild alive at the death of the testator.” (Emphasis added.)
■ The guardian approves of the manner in which the trial court settled the controversy if the trust was, in fact, invalid as written. Lastly, and perhaps only acting as guardian ad litem, to amply represent the minor children, the guardian cross appeals as to the trial court’s position that the Sixth cause of the will, the in terrorem clause, should not be held to bar Miriam F. Ball’s interest in the estate.
It would seem pertinent to dispose of the cross appeal in short order. We adopt the rule of the Restatement of Property, section 429, which holds that a bona fide belief in the invalidity of the will and with probable cause prevents the application of an in terrorem clause as to a beneficiary under the will. As set out in the Restatement, a beneficiary who attacks a will upon rules based upon public policy is merely serving the public.
Furthermore, Mrs. Ball was not only acting in good faith but was successful in her contention. Cross appellant concedes in such a case there should be no bar.
Before turning to any other questions, we shall set out sections L and M of Paragraph Fifth of the will. It will be seen that this is the distribution section where mention is made of the grandchildren for the first and only time.
“L. The trustees shall distribute the corpus of the Trust at the following times to the following persons in the following manner, to wit:
“1. To my granddaughter, Marjorie McCullough, one-half (K) of the capital stock of The Gorham State Bank of Gorham, Kansas, in the hands of the trustees at the time the said Marjorie McCullough reaches the age of twenty-five (25) years, as her property absolutely.
“2. To my granddaughter, Marjorie McCullough, the balance of the capital stock of the Gorham State Bank of Gorham, Kansas, in the hands of the trustees at the time the said Marjorie McCullough reaches the age of thirty (30) years, as her property absolutely.
“3. Subject to The foregoing provisions for distribution, all the rest, residue and remainder of/the Trust Estate shall be distributed at the time the young*501est child of the body, and not by adoption, of my daughter, Miriam F. Ball, reaches the age of twenty-three (23) years, or at the death of my said daughter, Miriam F. Ball, whichever event occurs the later, in the following manner and in the following shares, to wit:
“a. To the children of the body, and not by adoption, of my said daughter, equally share and share alike.
“b. In the event any of the children of the body, and not by adoption, of my said daughter, Miriam F. Ball, die before any distribution date of said Trust, his or her share shall descend and be distributed to his or her children, and if no children, then to the surviving children of the body of my said daughter, Miriam F. Ball, equally share and share alikeTj
“M. In the event any of the trustees herein named shall predecease me or shall die before the termination of this Trust, or shall fail to qualify for their trusteeship or become disqualified to act as such trustee, I direct that his or her successor be selected from nominations made for the successor by the surviving trustees, keeping in mind to select a successor that has similar qualification to the trustee deceased or disqualified, excepting that the surviving trustees may nominate any of the beneficiaries of the Trust as successor trustee, but such selection shall not be construed as a termination of the Trust.”
There seems to be little doubt that the above provisions violate the rule against perpetuities. The “Rule Against Perpetuities” requires that property must vest within a life or lives in being and twenty-one years. See Keeler v. Lauer, 73 Kan. 388, 393, 85 Pac. 541; Gray, Perpetuities, 4th ed., sec. 201.
The mere vesting of the legal title in trustees does not satisfy the rule. See Beverlin v. First National Bank, 151 Kan. 307, 311, 98 P. 2d 200, and McEwen v. Enoch, 167 Kan. 119, 122, 204 P. 2d 736.
Moreover, where there is a possibility that vesting may occur beyond the time required in the rule then the limitation is invalid. (Beverlin v. First National Bank, supra; Gray, Perpetuities, 4th ed., sec. 214.)
Since the possibility exists that Miriam F. Ball might have another child and then die before that child reached two years of age, the rule against perpetuities is violated.
The other rules which the trial court found to be violated, namely, Illegal Restraint on Alienation and Unlawful Accumulation of Income, are in a sense akin to the Rule Against Perpetuities. All of these rules rely on the common law rule of lives in being and twenty-one years and perhaps the period of gestation as the measure of time. For authorities on unlawful restraint against alienation, see: Gray Perpetuities, 4th ed., sections 268 et seq.; Restatement of Property, 1944 Rev. section 404, et seq.; 70 C. J. S. Perpetuities, sec*502tion 2 (b); 41 Am. Jur. Perpetuities and Restraints on Alienation, section 85.
We now note that the Fifth section of the will provides:
“E. It is expressly ordered and directed that said trustees shall not have the power to sell any real estate situated within the State of Kansas, excepting town lots, which may be sold by the trustees without court approval or intervention if they deem it to the best advantage of the Trust Estate.”
Thus the trustees must not sell some thirty-four quarter sections of Kansas farm land during the stated period. It must then be seen that some 6,000 acres of Kansas farm land were to be held without power of alienation for more than lives in being and twenty-one years.
Paragraph Fifth D in conjunction with Paragraph Fifth I directs the trustees to invest 6/20ths of the surplus income from the trust in such manner that said income is added to and becomes a permanent part of the corpus of the trust in violation of the common law Rule Against Accumulations. See Restatement of Property, 1944 Rev. section 439 and section 441; 70 C. J. S. Perpetuities, section 32; Rogert, Trusts and Trustees, Vol. la, section 215, p. 374 et seq.
Thus, whether we view the permissible period as one governed by the Rule Against Perpetuities or by a separate Rule Against Accumulations, it is clear that a direction to accumulate for a period which may extend beyond lives in being and twenty-one years is invalid.
We believe that the trial court did not err in holding that the will as drawn violated all three common law rules.
We come now to the real question in this appeal. As noted, supra, the trust was not to be distributed under Section Fifth L. 3 until “at the time the youngest child of the body, and not by adoption of my daughter, Miriam F. Rail, reaches the age of twenty-three (23) years, or at the death of my said daughter, Miriam F. Rail, whichever event occurs the later.”
The trial court considered the intent of the testatrix to die testate and, possibly influenced by some of our cases to be noted hereinafter, simply excised the part of the above provision which provided the grandchildren must be twenty-three years old, making the trust now determinable at the death of Miriam F. Rail. Thus the will no longer violates the rule against perpetuities nor the other allied rules and the intent of the testatrix is carried out.
A majority of this court is convinced that the trial court came to *503the correct decision, although the reasoning might differ to some degree. The court has not overlooked the argument that the trial court simply wrote a different will for the testatrix. However, the court feels that our cases hold that an invalid provision under the rule against perpetuities may be stricken out and the valid part of the will enforced. Attention is directed to Blake-Curtis v. Blake, 149 Kan. 512, 89 P. 2d 15, where in the third paragraph of the syllabus it was said:
“Where one provision of a will is invalid because it violates the rule against perpetuities, and the testamentary scheme of the testators can be determined and carried out regardless of the void provision, that provision will be stricken out and the testamentary plan given effect.”
In Beverlin v. First National Bank, 151 Kan. 307, 98 P. 2d 200, the syllabus reads:
“A testator devised and bequeathed to each of his two daughters real and personal property to be held in trust until such time as each daughter should attain the age of forty years, at which time the property should be turned over to them; it was further provided that in the event of the death of either daughter without legitimate child or children of their body, the share of such daughter would go to the other living daughter, but in case of the death of either daughter leaving a legitimate child of her body, the share of such daughter should be held in trust until the period when such daughter would have attained tlie age of forty years, provided such child or children had arrived at the age of twenty-five years, if not, to be held in trust until such time as the age of twenty-five is reached. Held, the gift to the grandchildren of the testator upon attaining the age of twenty-five years violates the rule against perpetuities and is void; that if either daughter should die under the age of forty without legitimate child or children of her body, her share in the estate would go to the living daughter; that should either or both daughters attain the age of forty years the trust would terminate and the share of either or both daughters attaining such age would become indefeasibly vested.”
In McEwen v. Enoch, 167 Kan. 119, 204 P. 2d 736, it was said:
“. . . The trust having failed, what happens to the corpus of the purported trust? Clearly it was the intention of the settlor, C. M. Beachy, to give to his two grandchildren Ellen and Owen McEwen, all of his property. That is the import of the entire trust agreement. Furthermore, that intent was carried out in his will which he executed some eighteen months prior to the trust agreement, and under which the two defendants are the sole beneficiaries since their mother predeceased the testator in death.
“It is well established by decisions of this court, and by authorities generally, that where it is possible to determine the intention of the testator (or the settlor) that intention must control (Blake-Curtis v. Blake, 149 Kan. 512, 524, 89 P. 2d 15, and cases cited therein). In the instant case it seems equally clear that, the intent of C. M. Beachy, the settlor, was to make a gift of his *504property to his grandchildren Owen and Ellen McEwen. In his efforts to delay the time of their possession and enjoyment of the property failed because of legal difficulties, they should nevertheless become the recipients of his bounty as he obviously intended.” (p. 126.)
In the earlier case of Dreisbach v. Spring, 93 Kan. 240, 144 Pac. 195, when a portion of a will was held to violate the rule against perpetuities, it was stricken out without destroying the whole will of the testator.
Again in the Beverlin case, supra, the court dealt with how much of the will was destroyed by the rule against perpetuities. At page 312 the court said:
“2. Does the failure of the intended trust for the grandchildren destroy the prior gift to the children?
“In Gray, Perpetuities, § 247, the general rule is stated thus:
‘§ 247. (1) Effect on Prioi’ Limitations. If future interests created by any instrument are avoided by the rule against perpetuities, the prior interests become what they would have been had the limitation of the future estates been omitted from the instrument. Thus, if an estate is given to A for life, remainder to his children and their heirs, but, if the children all die under twenty-five, then to B and his heirs, the limitation to B is too remote, and the children of A take an indefeasible fee simple. The cases illustrating this are innumerable. So when there is a devise on a remote condition, and no prior devise, the land descends to the heir who has an indefeasible fee.’
“The question was before this court in the recent case of Blake-Curtis v. Blake, 149 Kan. 512, 89 P. 2d 15. We there held, as stated in paragraph three of the syllabus:
’Where one provision of a will is invalid because it violates the rule against perpetuities, and the testamentary scheme of the testators can be determined and carried out regardless of the void provision, that provision will be stricken out and the testamentary plan given effect.’
“See, also, Dreisbach v. Spring, 93 Kan. 240, 144 Pac. 195.
“The general rule is that where an attempted ultimate executory interest fails in its inception because of the rule against perpetuities, the prior interest becomes indefeasible.” (Citing cases.)
We are quite well aware that under paragraph Fifth L. 3 of the will, it is provided that distribution shall take place at the time “the youngest child ... of my daughter, Miriam F. Ball, reaches the age of twenty-three . . . or at the death of my said daughter, Miriam F. Ball, whichever event occurs the later. . . .
But whatever else is true, it is also plain that the will can validly provide that distribution may be postponed until after the death of Miriam — a life in being. It comes quite readily to mind that the ideas of the testatrix can probably be carried out if the invalid pro*505vision as to the age o£ twenty-three years — as it relates to the grandchildren — -be stricken and the trust made to terminate at the time of the death of the daughter Miriam.
The majority of the court is of the opinion that there is ample authority in our cases and in citations made therein to hold that the trust will terminate on the death of Miriam F. Ball. Thus the court agrees with the holding of the eminent trial judge and his decision is affirmed. It is so ordered.