delivered the opinion of the Court.
This appeal involves questions respecting the right of an illegitimate child to inherit by or through her putative father.
Peggy Jane Bird Marshall, appellant, filed a bill of complaint and affidavit of parenthood whereby she claimed Marguerite S. Bird’s (Marguerite) residuary estate through Code § 64.1-64 1 (the *91 so-called “anti-lapse statute”) as the illegitimate child of Vance L. Bird (Vance), deceased. The appellees, W. B. Bird and others 2 (collectively, Bird), respondents in the court below, filed a demurrer and a special plea to the bill of complaint, both of which the trial court sustained.
Bird’s demurrer asserts that under the law existing at the time of Vance’s death (Code § 64.1-5), 3 Marshall had no right of inheritance by or through her putative father. Bird’s special plea avers that Marshall’s claim is barred by the provisions of Code § 64.1-5.1(3) 4 because Marshall did not file her bill of complaint and affidavit within the prescribed time.
A demurrer admits as true all material facts that are properly pleaded,
Bowman
v.
State Bank of Keysville,
Although Code § 64.1-5 had not been repealed at the time of Vance’s death, the Supreme Court of the United States, approximately 12 weeks before Vance’s death, declared unconstitutional an Illinois statute virtually identical to Code § 64.1-5.
Trimble
v.
Gordon,
Our primary inquiry focuses upon Bird’s special plea. This presents the question whether, under these facts, the trial court erred in holding that the one-year limitation provision in Code § 64.1-5.1(3) barred Marshall’s claim as the substitute devisee and legatee in Marguerite’s will.
Trimble effectively invalidated former Code § 64.1-5. Thus, prior to Vance’s death, Marshall no longer was precluded from inheriting by or through her putative father. This broadened right for illegitimate children, constitutionally mandated, was codified in Code § 64.1-5.1(2), effective July 1, 1978. It follows, therefore, that unless Code § 64.1-5.1(3) bars Marshall’s claim, she also had the right of substitution prescribed by Code § 64.1-64.
Code § 64.1-5.1(3) provides in pertinent part that:
No claim of succession based upon the relationship between a child born out of wedlock and a parent of such child shall be recognized in the settlement of any decedent’s estate unless [an affidavit of parenthood and an action to establish parenthood] has been filed within one year of the date of the death of such parent ....
Because Vance died on July 18, 1977, under a literal reading of this provision, Marshall’s right of action would have accrued more than 11 months before the enactment of the statute creating it. The trial court recognized that this would be an invalid application of the statute, and we agree.
*93
The court ruled, however, that the limitation period in Code § 64.1-5.1(3) began to run on July 1, 1978 (the statute’s effective date). Therefore, under this ruling, the one-year limitation expired almost two years before Marguerite’s death in June, 1981. But a statute of limitations cannot begin to run until a right of action accrues.
See Boykins Corp.
v.
Weldon, Inc.,
Clearly, until Marguerite died, Marshall had no right to claim her inheritance in Marguerite’s estate through her putative father pursuant to Code § 64.1-64. In other words, Marshall’s right to claim her inheritance did not accrue until Marguerite’s death, and the court’s application of the statute effectively destroyed Marshall’s right to sue. Therefore, under the facts presented, the one-year time period did not commence to run until the date of Marguerite’s death, and thus Marshall’s affidavit and suit were timely filed.
We hold, therefore, that the court erred in ruling that Marshall’s right of action was time-barred. Otherwise, there would be a statutory taking of Marshall’s property without due process of law in violation of both the Federal and Virginia constitutions. U.S. Const, amend. XIV, § 1; Va. Const, art. I, § 11; see
also Potomac Hospital
v.
Dillon, 229
Va. 355,
We also hold that the trial court erred in sustaining Bird’s demurrer on the ground that, at the time of Vance’s death, Marshall could not inherit by or through her putative father. Although the General Assembly had not repealed Code § 64.1-5 at the time of Vance’s death, Trimble implicitly declared it unconstitutional almost three months previously.
Accordingly, because the trial court erred in sustaining both the demurrer and the special plea, we will reverse its decree and remand the cause for an adjudication of parentage pursuant to Code §§ 64.1-5.1 and -5.2.
Reversed and remanded.
Notes
Code § 64.1-64 reads in pertinent part as follows:
If a devisee or legatee die before the testator, leaving children or their descendants who survive the testator, such children or their descendants shall take the estate devised or bequeathed, as the devisee or legatee would have done if he had *91 survived the testator, unless a different disposition thereof be made or required by the will.
The other appellees are: D. Woodrow Bird, Ethel Mustard, Ruth Donaldson, Elizabeth Kincheloe, Helen S. Shrewsbury, Clara S. Turner, Louise S. Porterfield, Marie S. Williams, Claude N. Smith, Willard S. Smith, Frances S. Boone, Mary S. Hilton, Phyllis S. Simmerman, Collen S. Dunford, Naomi S. Perrigon, Albert Roller, Thelma Wright, Aline McCloud, Paul H. Wright, Marguerite W. Sisson, David Lee Wright, and Sharon W. Carter.
Former Code § 64.1-5 read as follows:
Illegitimate children shall be capable of inheriting and transmitting inheritance on the part of their mothers as if lawfully begotten.
Code § 64.1-5.1 reads in pertinent part as follows:
If, for purposes of Title 64.1, a relationship of parent and child must be established to determine succession by, through or from a person:
3. No claim of succession based upon the relationship between a child born out of wedlock and a parent of such child shall be recognized in the settlement of any decedent’s estate unless an affidavit by such child or by someone acting for such child alleging such parenthood has been filed within one year of the date of the death of such parent in the clerk’s office of the circuit court of the jurisdiction wherein the property affected by such claim is located and an action seeking adjudication of parenthood is filed in an appropriate circuit court within said time; provided, however, such one-year period shall run notwithstanding the minority of such child.
